TrueCraft/TrueCraft.API/Entities/IPhysicsEntity.cs
Drew DeVault 775adf685a Significant improvements to entity physics
No more jitter! Collisions actually work all the time!
2015-02-02 01:24:43 -07:00

20 lines
443 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TrueCraft.API.Entities
{
public interface IPhysicsEntity
{
Vector3 Position { get; set; }
Vector3 Velocity { get; set; }
float AccelerationDueToGravity { get; }
float Drag { get; }
float TerminalVelocity { get; }
bool BeginUpdate();
void EndUpdate(Vector3 newPosition);
}
}