Vixen
c7401864
csharp
public sealed class VehiclePhysicsDefinition

What the physics wants. A few numbers, not a physics engine.

Read the guide page for this →

Remarks

⚠ Deliberately thin. A vehicle's real configuration is Vixen.Net.Physics's rigid body, and doc 28 says the networking is that library's existing authority rather than anything new. What is here is what a designer sets per vehicle and a game hands to the body.

Fields and properties (4)

  • public float MaximumSpeed

    How fast it goes, in metres a second.

  • public float Acceleration

    How fast it gets there.

  • public float TurnRate

    How fast it turns, in degrees a second.

  • public float Ceiling

    How high it may go, or zero for something that stays on the ground.

Used by (7)

  • ContentVixen.Gameplay.Movement.Tests
  • MovementLibraryVixen.Gameplay.Movement
  • TypeRegistrationVixen.Gameplay.Movement
  • VehicleVixen.Gameplay.Movement
  • VehicleDefinitionVixen.Gameplay.Movement
  • Vixen_Gameplay_Movement_VehicleDefinitionSerializerVixen.Gameplay.Movement
  • Vixen_Gameplay_Movement_VehiclePhysicsDefinitionSerializerVixen.Gameplay.Movement