public override PhysicsActor AddAvatar(PhysicsVector position) { Vec3 pos = new Vec3(); pos.X = position.X; pos.Y = position.Y; pos.Z = position.Z; PhysXCharacter act = new PhysXCharacter(scene.AddCharacter(pos)); act.Position = position; _characters.Add(act); return(act); }
public override PhysicsActor AddAvatar(PhysicsVector position) { Vec3 pos = new Vec3(); pos.X = position.X; pos.Y = position.Y; pos.Z = position.Z; PhysXCharacter act = new PhysXCharacter( scene.AddCharacter(pos)); act.Position = position; _characters.Add(act); return act; }