Основные методы
Основные методы
Основные методы
Основные методы
///to keep collision detection and dynamics separate we don't store a rigidbody pointer ///but a rigidbody is derived from btCollisionObject, so we can safely perform an upcast public static RigidBody Upcast(CollisionObject colObj) { if ((colObj.GetInternalType() & CollisionObjectTypes.CO_RIGID_BODY) != 0) { return(colObj as RigidBody); } return(null); }