Summary
The different ways the time can be frozen for rigidbodys
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Interfaces
-
- IComparable
- IFormattable
- IConvertible
- Base Types
-
- object
- ValueType
- Enum
graph BT
Type-->Base0["Enum"]
Base0-->Base1["ValueType"]
Base1-->Base2["object"]
Type-.->Interface0["IComparable"]
Type-.->Interface1["IFormattable"]
Type-.->Interface2["IConvertible"]
Type["TimeUtils.RigidbodyFreezeType"]
class Type type-node
Syntax
public enum TimeUtils.RigidbodyFreezeType
Fields
Name | Constant Value | Summary |
---|---|---|
IsKinematic | 2 |
Sets
Rigidbody.isKinematic to true
static
|
None | 4 |
Nothing is done... maybe not the best way to freeze objects...
static
|
Physics |
1 |
Default type. Sets
Physics.autoSimulation to false. Simple and effective but it affects all objects with no distinction
static
|
Sleep | 3 |
Calls
Rigidbody.Sleep on object
static
|
TimeScale | 0 |
Sets the TimeScale to 0.0. This type has a lot of side effects.
static
|