Author Topic: [SOLVED] Making player slide on crouch?  (Read 721 times)

So, new problem.
I want to create a new, seperate playerData that can slide (keeping the same speed before crouching) but I don't know what to edit.

I have this weird thing, horizResistFactor = *value*, but I don't know what to write in there.
Any ideas?
« Last Edit: August 03, 2012, 07:08:32 AM by Crystalwarrior »

I will tell you what you need, you have to do the research. Consider this homework.

1. You should package the armor::onTrigger function.
2. use player.getVelocity(); somewhere.
3. Use player.setVelocity to do the sliding.

I will tell you what you need, you have to do the research. Consider this homework.

1. You should package the armor::onTrigger function.
2. use player.getVelocity(); somewhere.
3. Use player.setVelocity to do the sliding.
Well, what is the %slot for crouching? I remember Port telling me, but chat logs don't save on Steam D:

Well, what is the %slot for crouching? I remember Port telling me, but chat logs don't save on Steam D:

Search is your friend, disable searching all other boards with the little checkbox and select coding help.

Search is your friend, disable searching all other boards with the little checkbox and select coding help.
Nvm.
« Last Edit: July 30, 2012, 09:18:58 AM by Crystalwarrior »

Also, do not lock your coding help topics. Unlock that other one

Also, do not lock your coding help topics. Unlock that other one
Ah okay.

Bump because new problem.
EDIT: Nevermind bump because fixed it with runForce.
« Last Edit: August 03, 2012, 07:08:20 AM by Crystalwarrior »