@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
41 lines (40 loc) • 926 B
TypeScript
export declare enum PhysicsMaterialCombine {
Average = 0,
Multiply = 1,
Minimum = 2,
Maximum = 3
}
/**
* Properties for physics simulation, like friction or bounciness.
*/
export type PhysicsMaterial = {
bounceCombine?: PhysicsMaterialCombine;
bounciness?: number;
frictionCombine?: PhysicsMaterialCombine;
dynamicFriction?: number;
/**@deprecated not used */
staticFriction?: number;
};
export declare enum CollisionDetectionMode {
Discrete = 0,
Continuous = 1
}
export declare enum RigidbodyConstraints {
None = 0,
FreezePositionX = 2,
FreezePositionY = 4,
FreezePositionZ = 8,
FreezePosition = 14,
FreezeRotationX = 16,
FreezeRotationY = 32,
FreezeRotationZ = 64,
FreezeRotation = 112,
FreezeAll = 126
}
export declare enum Axes {
None = 0,
X = 2,
Y = 4,
Z = 8,
All = -1
}