Documentation
¶
Index ¶
- type Body
- func (r *Body) AddForce(force vector.Vector)
- func (r *Body) AddImpluse(impulse vector.Vector)
- func (r *Body) Id() int64
- func (r *Body) InverseMass() float64
- func (r *Body) Position() vector.Vector
- func (r *Body) Rotation() rotator.Rotator
- func (r *Body) SetAngularVelocity(degrees float64)
- func (r *Body) SetMass(mass float64)
- func (r *Body) SetPosition(position vector.Vector)
- func (r *Body) SetRotation(rotation rotator.Rotator)
- func (r *Body) SetShape(s shape)
- func (r *Body) SetStatic()
- func (r *Body) Tick(delta float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
func (*Body) AddImpluse ¶
func (*Body) InverseMass ¶
func (*Body) SetAngularVelocity ¶
func (*Body) SetPosition ¶
func (*Body) SetRotation ¶
Click to show internal directories.
Click to hide internal directories.