so this is really simple 4 direction detection but if you want the angle the player is heading in too then that’ll be a different story i’ll include later
moving on
guide
first step place down a player coordinates device
and 4 player scoped number properties (configure to your needs if needed)
and set the coordinate device to update the normal ones (the “d” means they’re delayed) and broadcast on “delayed coordinates” leading us to a 0.25 delay trigger that trigger on that channel (configure to no collision/not visible as needed) with a block setting the delayed props to the current props
then place a text game overlay (playerscope if needed) with this block
triggering on “delayed coordinates”
but do not get confused as this gameoverlay will update normally everytime the players’ coordinates change
and before you ask “what is the use of this guide?”
it is mainly for pseudo items with collision or atleast a piece of what’s needed to be able to make the physics of it (so it can tell which direction to go in once the player tries to push it or something) as for the angles for more accurate collision i’ll figure it out later as mentioned (if I get angles figured out pseudo gadgets might be possible with a bit of keybinding and distance formula’s for the hitbox)
With this we could make psuedo hitboxes but if you think about it, we could make custom keybinds. Imagine moving up but you go left, or moving left but you move down or something
bumping is when you say something on a post to bring relevance back to it
like if nobodies seeing a cool guide then you can put a comment saying bump on it so its back in topics in ‘latest’
Well, not necessarily because if there’s knockback, the player could be moved in One Direction while pressing the keys to be facing in the opposite direction. Ohh wait. You’re right through the same thing. where you want to move doesn’t change the direction of the gim
Knockback isnt taken into account with this guide (so not entirely sure what’ll happen then cuz i barely remember how i made this but more how it works math wise) also it defaults to the last (4 cardinal) direction the player was heading in when standing still but if i remember this guide is a tad bit buggy and didnt fit well with most of my pseudo stuff my more updated and advanced stuff (still bugged with hit scope detection btw) is the stuff with the desmos links in em either way glad my old guide helps lemme know if any elaboration is needed for the rather new peeps :P