func NewRigidBody() *RigidBody {
	body := new(RigidBody)
	body.Orientation.SetIdentity()
	body.LinearDamping = defaultLinearDamping
	body.AngularDamping = defaultLinearDamping
	body.Acceleration = defaultAcceleration
	body.inverseInertiaTensorWorld.SetIdentity()
	body.CanSleep = true
	body.SetAwake(true)
	return body
}
NewRigidBody creates a new RigidBody object and returns it.
package cubez
import (
	m "github.com/tbogdala/cubez/math"
	"math"
)
const (
	defaultLinearDamping  = 0.95
	defaultAngularDamping = 0.8
	sleepEpsilon          = 0.3
)
var (
	defaultAcceleration = m.Vector3{0.0, -9.78, 0.0}
)
type RigidBody struct {
	LinearDamping m.Real
	AngularDamping m.Real
	Position m.Vector3
	Orientation m.Quat
	Velocity m.Vector3
	Acceleration m.Vector3
	Rotation m.Vector3
	InverseInertiaTensor m.Matrix3
	IsAwake bool
	CanSleep bool
	inverseInertiaTensorWorld m.Matrix3
	inverseMass m.Real
	mass m.Real
	transform m.Matrix3x4
	forceAccum m.Vector3
	torqueAccum m.Vector3
	lastFrameAccelleration m.Vector3
	motion m.Real
}