states

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhysicsState

type PhysicsState struct {
	// data
	Entity              *ecs.BasicEntity
	Position            *types.Position
	Velocity            *types.Velocity
	Acceleration        *types.Acceleration
	AngularVelocity     *types.Vector3
	AngularAcceleration *types.Vector3
	Orientation         *types.Orientation
	Mass                *types.Mass
	Time                float64

	// components
	Motor     *components.Motor
	Bodytube  *components.Bodytube
	Nosecone  *components.Nosecone
	Finset    *components.TrapezoidFinset
	Parachute *components.Parachute
}

PhysicsState represents an entity with physics components

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL