Hello There! I am here to ask help about a recent bug I seem to not be able to solve
Recently, I've been making a game blah blah blah, I encountered a bug where my dash system, doesn't seem to be very consistent with the distance it dashes upon.
So during testing, I have determined these issues:
- If in a building, not the baseplate, my dash distance goes alot further than if I were to dash within the baseplate.
- If Im air dashing, using BodyPositions it seems to not be effected by such.
So in order to fix the bug I have tried several solutions, which include:
- Using LinearVelocity instances instead of setting AssemblyLinearVelocity
- Making all baseparts of the character Massless
- NoPhysicsConstraint Instances
- Applying BodyPositions
- Normalizing my Dash Direction
- Using BodyVelocity instead
- Setting Platform standing to true
- Transporting some of the dash logic towards the client
- Accounting for player Mass in my DashDirection
Import Keypoints you should also know:
- The dash system is fully server reliant, the client just fires the remote.
- The dash system also relies on setting AssemblyLinearVelocity
- Dash directions is calculated using movedirection, and lookvectors if player isnt moving
** You are now Level 7! **