public virtual void ChangeRotation() { UpdateRotationMatrix(); if (CollisionShape != null) { CollisionShape.SetRotation(Rotation.get()); } }
public void SetCollisionShape(Basic3DShape shape) { CollisionShape = shape; if (Position != null) { shape.SetPosition(Position.get()); shape.SetScale(Scale.get()); shape.SetRotation(Rotation.get()); } }