Murky
Member
|
Using something like addForce on character
What can I do to get the effect of this code applied to a character?
Code:
if(Kb.b(KB_E))player.addForce(Vec(0,1,0)*3);
|
|
12-02-2009 06:29 AM |
|
katoun
Member
|
RE: Using something like addForce on character
Hello.
Look at the 15 - Character Ragdoll.cpp tutorial
|
|
12-02-2009 09:40 AM |
|
Esenthel
Administrator
|
RE: Using something like addForce on character
you can try player.ctrl.actor, but that depends on what you're trying to achieve
|
|
12-02-2009 04:22 PM |
|
Murky
Member
|
RE: Using something like addForce on character
The goal is have a jetpack on the character and have a key to use it. I liked the effect of addForce for it, but I couldn't figure out how to add it into the character.
|
|
12-02-2009 04:36 PM |
|
Murky
Member
|
RE: Using something like addForce on character
Thank you Esenthel, that worked perfectly!
|
|
12-03-2009 03:54 AM |
|