HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Box2D.Sweep Struct Reference

This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may not coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position. More...

Collaboration diagram for Box2D.Sweep:
Collaboration graph
[legend]

Public Member Functions

Transform GetTransform (float time)
 Get the transform at a specific time.
 

Public Attributes

Vec2 LocalCenter
 Local center of mass position.
 
Vec2 C1
 Starting center of mass world position.
 
Vec2 C2
 Ending center of mass world position.
 
Rotation Q1
 Starting world rotation.
 
Rotation Q2
 Ending world rotation.
 

Detailed Description

This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may not coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position.


The documentation for this struct was generated from the following file: