Greetings! As you can see in the video every time a player pressed down a key a part appears in front of them. But when moving the part position is way behind of the player. I don’t know if it is a latency issue between the client and the server. Does anyone has any idea on making the hitbox part appear in front of the character even when they are moving. Thanks!
I’ll let the other guy answer but i just wanted to say I really like the simple colors and contrasts in the style.
Oh! wait uh. Just make a weld or Motor6D for the part that links it to the Humanoid Root Part! We had the same issue with our tank turrets for Teensy Tiny Tankery, but @Scripth came up with a pretty nifty way to bind them and keep them client-synced!
I tried to create a weld constraint but same keeps happening… Maybe i will try it again.
It is indeed a latency issue, you could
- Use the Player’s
AssemblyLinearVelocityand place the hitbox in the direction the player is currently going - Use a RemoteEvent/Function to detect what parts are being hit then move it on the Server
- couldn’t think of a 3rd option
Like predicting… I thought about it but I was lazy to try it. I am going to give a try. Thanks for the fast replies! I will try these two methods!
Thanks! I will take a look at it!
Well, I am the big dum. I made the weld and forgot to parent it. OOpsies. Thanks for the fast replies!
