Havok Physics

Users who are viewing this thread

How can i use havok physic in warband like as in that video http://www.youtube.com/watch?v=36GRtjwkFK0

I want to create a mod with that physic.if anyone knows that please help me.
 
Add the flag sokf_dynamic_physics to your scene props.
Manipulate them with the operations prop_instance_dynamics_set_properties, prop_instance_dynamics_set_velocity, prop_instance_dynamics_set_omega and prop_instance_dynamics_apply_impulse (more info here).
 
It isn't possible to have the server send the event to the clients?  That's too bad.

Well, you can generate 3D particles, though, if you just want some explosions to throw chunks of stuff about.
 
xenoargh said:
It isn't possible to have the server send the event to the clients?  That's too bad.
You can't have dynamic bodies on the server either. When the engine instantiates a prop it clears the dynamic physics flag if it's not running in singleplayer mode.
 
Back
Top Bottom