Metaegis
(Meta)
February 24, 2024, 12:48pm
#1
Hello!
I’m trying to make a fighting game but i couldnt find a way to move the players character using physics without it being unreliable.
I used ApplyImpulse on the HRP to move the character but the character seems to be moving at different speeds when on ground and air, with the player going a lot faster on air.
How do I work around this? Help would be much appreciated.
3 Likes
edvaardss
(edvaardss)
February 24, 2024, 1:07pm
#2
Does it seem or is it acutally?
Some of the reason I could think of.
Friction
You could adjust the speed possibly by using humanoid states.
1 Like
Metaegis
(Meta)
February 24, 2024, 2:40pm
#3
My bad on the writing
Friction seems to be the cause of this yes. But how do i remove the friction?
1 Like
edvaardss
(edvaardss)
February 24, 2024, 6:08pm
#4
I assume that the air has 0 friction.
I currently cannot log into studio…
You can edit the friction under parts physical properties if I am correct.
1 Like
edvaardss
(edvaardss)
February 24, 2024, 6:11pm
#5
although this is a bad idea as I’m not too sure if this is the best idea.
There are many other devs that probably have a better and simpler solution. As this might break the games logic etc.
1 Like
Metaegis
(Meta)
February 25, 2024, 1:05am
#6
yeah making the ground really slippery wouldnt be the best way
i just used BodyVelocity instead
2 Likes
system
(system)
Closed
March 10, 2024, 1:05am
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.