public BaseShapePropertyWrapper(BaseShape baseShape) { BaseShape = baseShape; Matrix4x4Wrapper = new Matrix4x4PropertyWrapper(baseShape.LocalMatrix); }
public RigidBodyPropertyWrapper(RigidBody bodyToWrap, ShapeDataManager shapeDataManager, int frameId) { BodyToWrap = bodyToWrap; Matrix4x4Wrapper = new Matrix4x4PropertyWrapper(BodyToWrap.WorldMatrix); ShapeListWrapper = new ShapeListWrapper(bodyToWrap.CollisionShapeIds, shapeDataManager, frameId); }