Files
libremetaverse/Programs/Simian/Interfaces/IPhysicsProvider.cs
John Hurliman 241b480320 [Simian]
* Created an LLUDP folder to hold extensions that are purely LLUDP packet handlers. This is not a complete abstraction away from transport protocols, but it's a start
* Moved physics code from Movement.cs into PhysicsSimple.cs, and moved the physics loop into a thread in SceneManager
* Simian.ini cleanup


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2490 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-17 22:33:22 +00:00

18 lines
492 B
C#

using System;
using OpenMetaverse;
namespace Simian
{
public interface IPhysicsProvider
{
/// <summary>
/// Runs a single physics frame
/// </summary>
/// <param name="elapsedTime">The time since Update was called last</param>
void Update(float elapsedTime);
Vector3 ObjectCollisionTest(Vector3 rayStart, Vector3 rayEnd, SimulationObject obj);
bool TryGetObjectMass(UUID objectID, out float mass);
}
}