PhysicsServer3DManager
A singleton for managing PhysicsServer3D implementations.
A singleton for managing PhysicsServer3D implementations.
PhysicsServer3DManager is the API for registering PhysicsServer3D implementations and for setting the default implementation.
Note: It is not possible to switch physics servers at runtime. This class is only used on startup at the server initialization level, by Reckfell itself and possibly by ReckfellExtensions.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Properties1
SingletonProperty
public static PhysicsServer3DManagerInstance Singleton { get; }Methods2
RegisterServervoid
public static void RegisterServer(string name, Callable createCallback);Register a PhysicsServer3D implementation by passing a name and a Callable that returns a PhysicsServer3D object.
| Name | Type | Default |
|---|---|---|
name | string | — |
createCallback | Callable | — |
SetDefaultServervoid
public static void SetDefaultServer(string name, int priority);Set the default PhysicsServer3D implementation to the one identified by name, if priority is greater than the priority of the current default implementation.
| Name | Type | Default |
|---|---|---|
name | string | — |
priority | int | — |