Click or drag to resize

PhysicsCompoundGeometry Class

Represents a compound/composite physics collision geometry.
Inheritance Hierarchy

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public class PhysicsCompoundGeometry : PhysicsGeometry

The PhysicsCompoundGeometry type exposes the following members.

Properties
  NameDescription
Public propertyAabb
The axis-aligned bounding box (AABB) in world space.
(Inherited from PhysicsGeometry.)
Public propertyBody
The physics body that the geometry belongs to.
(Inherited from PhysicsGeometry.)
Public propertyCount
The number of child geometric collision shapes.
Public propertyFilterContactPoints
Whether to filter contact points.
(Inherited from PhysicsGeometry.)
Public propertyFixNormals
Whether to fix contact normals for the geometry.
(Inherited from PhysicsGeometry.)
Public propertyFrictionMaterial
The friction material for the collision geometry.
(Inherited from PhysicsGeometry.)
Public propertyIsConveyorSurface
Whether the geometry represents a conveyor surface (e.g. belt or rollers).
(Inherited from PhysicsGeometry.)
Public propertyIsDisposed (Inherited from PhysicsGeometry.)
Public propertyMargin
The collision margin for the geometry.
(Inherited from PhysicsGeometry.)
Public propertyType
The type of collision geometry.
(Inherited from PhysicsGeometry.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified collision geometry as a child to the compound collision geometry.
Public methodChild
Accessor for the child geometric collision shape at the specified index.
Public methodContains
Whether the specified collision geometry is an immediate child of the compound collision geometry.
Public methodDispose (Inherited from PhysicsGeometry.)
Protected methodDispose(Boolean) (Inherited from PhysicsGeometry.)
Public methodRemove
Removes the specified collision geometry from the compound collision geometry.
Public methodTransform(Int32)
Accessor for the transform for the child geometric collision shape specified by the provided index.
Public methodTransform(Int32, Matrix)
Sets the transform for the child geometric collision shape specified by the provided index.
Top
Remarks
Compound collision geometries group together other collision geometries into a hierarchy. This is ideal for forming complex geometric collision shapes from multiple simple primitive collision shapes without resorting to a PhysicsConcaveTriangleMeshGeometry.
See Also