From 76569ff4fba09f22ed4a06b8073deaed7f64a2e3 Mon Sep 17 00:00:00 2001 From: MW Date: Sat, 10 Mar 2007 20:30:25 +0000 Subject: A PhysX physics plugin (that actually uses physX now but currently only works on windows) Can now change direction when walking without stopping Flying works when using the Physx dll --- src/physics/PhysicsManager.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/physics/PhysicsManager.cs') diff --git a/src/physics/PhysicsManager.cs b/src/physics/PhysicsManager.cs index 0986501..e5d5bd6 100644 --- a/src/physics/PhysicsManager.cs +++ b/src/physics/PhysicsManager.cs @@ -110,6 +110,8 @@ namespace PhysicsSystem { public abstract PhysicsActor AddAvatar(PhysicsVector position); + public abstract PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size); + public abstract void Simulate(float timeStep); public abstract void GetResults(); @@ -140,6 +142,11 @@ namespace PhysicsSystem { get; } + public abstract bool Flying + { + get; + set; + } public abstract void AddForce(PhysicsVector force); -- cgit v1.1