public MoveablePickupObject(string id, ActorType actorType, Transform3D transform, EffectParameters effectParameters, Model model, PickupParameters pickupParameters) : base(id, actorType, transform, effectParameters, model) { this.pickupParameters = pickupParameters; //register for callback on CDCR this.Body.CollisionSkin.callbackFn += CollisionSkin_callbackFn; }
public ImmovablePickupObject(string id, ActorType actorType, Transform3D transform, EffectParameters effectParameters, Model model, Model lowPolygonModel, MaterialProperties materialProperties, PickupParameters pickupParameters) : base(id, actorType, transform, effectParameters, model, lowPolygonModel, materialProperties) { this.pickupParameters = pickupParameters; //register for callback on CDCR this.Body.CollisionSkin.callbackFn += CollisionSkin_callbackFn; }