public PxBoxCollider(PhysicsScene scene, BoxColliderData data, bool isDynamic, object userData = null) : base(scene, isDynamic, userData) { NLog.Log.Assert(data.IsValid); this.ColliderData = data; this.position = data.position; this.rotation = data.rotation; this.ptr = scene.AddBoxCollider(this); }
public PxBoxCollider(PhysicsScene scene, BoxColliderData data, bool isDynamic, string name, object userData = null) : this(scene, data, isDynamic, userData) { this.Name = name; }
public static extern IntPtr AddBoxCollider(IntPtr scene, BoxColliderData boxData, bool isDynamic);