Physics Editor

Vanda Engine 1.3.3

TODO: To change the header's content go to Dr.Explain menu Options : Project Settings : HTML (CHM) Export : Setup HTML Template and Layout
TODO: To change the footer's content go to Dr.Explain menu Options : Project Settings : HTML (CHM) Export : Setup HTML Template and Layout
Physics Editor
  

To access the Physics Editor, select your desired instanced geometry or skin and go to Modify | Geometry | Physics menu. Alternatively you can use button to access the Physics Editor. The Physics Editor lets you assign PhysX actors to skins and instanced geometries.
 
PhysX data is assigned to instanced geometries and skins.
 
Shapes
Lets you create the following shapes for actors:
·    Box
·    Sphere
·    Capsule
·    Convex Hull
·    Triangulated Mesh
 
Vanda Engine gives you several options to generate capsule or triangulated mesh shapes. If you intend to generate capsule or triangulated mesh shapes for your selected instanced geometry, you should try different methods to see which one works for you.
 
Percentage
This property is valid for triangulated mesh shapes and specifies the percentage of number of polygon mesh vertices. Default values is 50, which means that triangulated mesh uses half the amount of polygon mesh vertices (For example if your polygon mesh contains 1000 vertices, triangulated mesh shape uses 500 vertices of the polygon mesh). Vanda Engine uses complex algorithms to collapse the polygon mesh until the triangulated mesh shape contains the vertex numbers specified by this property.
 
Density
Specifies the mass of actors. A value of 0 generates a static actor. Higher values generate dynamic actors.
 
Vanda Engine automatically assigns kinematic actors to animated instanced geometries and skins. Since density refers to static and dynamic actors, this property is meaningless for animated instanced geometries and skins.
 
Kinematic and dynamic actors can not use triangulated mesh shapes. Consequently:
1.   Vanda Engine automatically sets density to 0 for triangulated mesh shapes (Meaning that they are static ).
2.   Vanda Engine does not let you specify triangulated mesh shapes for animated instanced geometries and skins (which use kinematic actors).
 
Table A and B summerize these concepts:
  
shape
possible actors for animated instanced geometries and skins
Box
Kinematic
Sphere
Kinematic
Capsule
Kinematic
Convex Hull
Kinematic
 
Table A: When you select an animated instanced geometry, Vanda Engine disables Density and Percentage fields and removes triangulated mesh shape from the Shape list.
  
shape
possible actors for non-animated instanced geometry
Density
Percentage
Box
Staitc/Dynamic
zero :static
non-zero: dynamic
-
Sphere
Staitc/Dynamic
zero :static
non-zero: dynamic
-
Capsule
Staitc/Dynamic
zero :static
non-zero: dynamic
-
Convex Hull
Staitc/Dynamic
zero :static
non-zero: dynamic
-
Triangulated Mesh
Staitc
-
1-100
 
Table B
 
Generate
Generates an actor for selected instanced geometry or skin:
1.   For animated instanced geometries and skins, Vanda Engine generates kinematic actors.
2.   For non-animated instanced geometries, Vanda Engine generates static or dynamic actors depending the value of Density:
·    If Density is set to 0, Vanda Engine generates a static actor
·    If Density is set to a value higher than 0, Vanda Engine generates a dynamic actor.
 
Remove
Removes the actor from the selected instanced geometry or skin.
Made with help of Dr.Explain