C# (CSharp) Jitter.Collision.Shapes Shape - 26 примеров найдено. Это лучшие примеры C# (CSharp) кода для Jitter.Collision.Shapes.Shape, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
Represents the collision part of the RigidBody. A shape is mainly definied through it's supportmap. Shapes represent convex objects. Inherited classes have to overwrite the supportmap function. To implement you own shape: derive a class from Shape, implement the support map function and call 'UpdateShape' within the constructor. GeometricCenter, Mass, BoundingBox and Inertia is calculated numerically based on your SupportMap implementation.