Komodo Engine
C PROJECT_LOGO=
Komodo.Core.Physics.IPhysicsShape Interface Reference

Interface for all physics shapes. More...

Inheritance diagram for Komodo.Core.Physics.IPhysicsShape:
Komodo.Core.Physics.Box Komodo.Core.Physics.Sphere

Public Member Functions

IPhysicsShape GetScaledShape (Vector3 scale)
 

Properties

float Mass [get, set]
 Mass of the given shape. More...
 
Vector3 MomentOfInertia [get]
 Moment of inertia for the given shape. This is usually a calculated value based on mass, location of vertices, etc. More...
 

Detailed Description

Interface for all physics shapes.

Property Documentation

◆ Mass

float Komodo.Core.Physics.IPhysicsShape.Mass
getset

Mass of the given shape.

◆ MomentOfInertia

Vector3 Komodo.Core.Physics.IPhysicsShape.MomentOfInertia
get

Moment of inertia for the given shape. This is usually a calculated value based on mass, location of vertices, etc.