PhysicsMassProperties

value class PhysicsMassProperties(val constructionId: String, val dimension: String, val gameTick: Long, val mass: Double, val centerOfMass: ERROR CLASS: Symbol not found for Vector3d, val inertiaTensor: ERROR CLASS: Symbol not found for Matrix3d)(source)

Last published upstream mass data, copied at the request's server tick. Mass uses Sable's kpg unit; the center uses plot coordinates. Inertia is a row-major Matrix3d in plot axes about the center of mass, in kpg * m².

Constructors

Link copied to clipboard
constructor(constructionId: String, dimension: String, gameTick: Long, mass: Double, centerOfMass: ERROR CLASS: Symbol not found for Vector3d, inertiaTensor: ERROR CLASS: Symbol not found for Matrix3d)

Properties

Link copied to clipboard
val centerOfMass: ERROR CLASS: Symbol not found for Vector3d
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val inertiaTensor: ERROR CLASS: Symbol not found for Matrix3d
Link copied to clipboard