alejandro
17-05-2007 21:35:07
is there any way to set initial velocity to the character ?
like
mPlayer->mController->getActor()->setLinearVelocity(body->mActor->getLinearVelocity());
??
i am using 0.4 rc3
betajaen
17-05-2007 21:41:29
Not like that. The NxActor in the CharacterController is kinematic, which doesn't follow the standard laws of Physics.
alejandro
17-05-2007 21:45:42
how can i make to break the joint when i want ?
alejandro
17-05-2007 21:49:20
this is my problem :
i have my character swing in the tree, with a joint , and i want, to press space and the character jump , in that moment , i want to use the character controler, so i think its will be nice if we can set a inicial velocity? the velocity of the botton body of the joint.
betajaen
17-05-2007 21:58:10
You can get the acceleration of the Character; (change in position over time), as long as you keep account of that, you can get the velocity.