Ok,reading the documentation of PhysX made me a little dizzy.So,can someone give me some examples of some statis,dynamic and kinematic actors?
Also: suppose I have a third person game,so I'm in control of a character.When I move my character with W,A,S,D,my character is a dynamic actor or dynamic kinematic actor?
also(some real definitions of static,dynamic and kinematic actors would help a lot!).Thanks!
PhysX examples of static,dynamic and kinematic actors
Started by noatom, Jul 14 2012 09:58 AM
4 replies to this topic
Sponsor:
#2 Moderators - Reputation: 13598
Posted 14 July 2012 - 10:25 AM
Static doesn't move (e.g. a building or terrain). Dynamic can move (e.g. a cardboard box or a vehicle).
Kinematic is a dynamic actor that can ignore the rules of physics, and just does what you tell it to (e.g. a player controlled avatar or a scripted elevator). This is kind of a hack that lets your game directly control the player without worrying about dynamic objects being able to knock them around, or having them fall over due to being off balance. You're responsible for their movement, and they can knock dynamic stuff out of the way. They're used when you've got your own simpler version of physics that you want to use for an object, and you don't want the physics engine to have any control over it.
Kinematic is a dynamic actor that can ignore the rules of physics, and just does what you tell it to (e.g. a player controlled avatar or a scripted elevator). This is kind of a hack that lets your game directly control the player without worrying about dynamic objects being able to knock them around, or having them fall over due to being off balance. You're responsible for their movement, and they can knock dynamic stuff out of the way. They're used when you've got your own simpler version of physics that you want to use for an object, and you don't want the physics engine to have any control over it.
Edited by Hodgman, 14 July 2012 - 10:28 AM.
#4 Moderators - Reputation: 13598
Posted 15 July 2012 - 04:46 AM
This is what kinematic actors were designed for, yes. However, you're then responsible for all of their movement logic, including gravity, etc...So if I make a third person shooter game,my character that I control with W,A,S,D, should be a dynamic actor or a dynamic kinematic actor?
N.B. a dynamic actor could also be used, but you face different problems in that case, such as making sure they don't fall over sideways, etc...
Edited by Hodgman, 16 July 2012 - 04:39 AM.







