public InteractObject(InteractNode node, string modelName, bool useCollisionTransform) : base(modelName) { this.interactNode = node; this.interactTrigger = new InteractTrigger(this); this.useCollisionTransform = true; }
public override void OnDestroy() { base.OnDestroy(); interactBody.CollisionSkin = null; interactBody.DisableBody(); interactBody.Node = null; this.scene.GetPhysicsEngine().RemoveBody(interactBody); interactBody = null; interactNode = null; }
public override void OnDestroy() { base.OnDestroy(); this.interactTrigger.OnDestroy(); interactNode = null; }
public InteractObject(InteractNode node, string modelName) : base(modelName) { this.interactNode = node; this.interactTrigger = new InteractTrigger(this); }
public void SetInteractNode(InteractNode node) { this.interactNode = node; }
public InteractObject(InteractNode node, string modelName) : base(modelName) { this.interactBody = new InteractBody(node); this.interactNode = node; }