How to apply constant forces on player characters
Hello. I would like to apply some continuously changing forces on the player character in order to simulate flight but I can't get it to work perfectly. I tried to do it by applying the net force on the character during each tick. This was done by dividing the net force by the mass of the player character and adding the resulting acceleration*time per frame to the current velocity. This seems to work well until the character touches the ground, which causes the falling animation to freak out. Also If the character hits a jump pad or anything that changes the velocity by launching the character, there seems to be no effect. I feel like there is a better way to doing this but apply force doesn't seem to work on player characters since they are not static.
Attached are images of the entire aerodynamics script, close ups of the individual parts and the initialized values used in the calculations.
couldn't you just set the movement mode to flying if you want to simulate flight?
answered Feb 13 '18 at 07:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here