mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Prediction: comments
This commit is contained in:
parent
8564e88d97
commit
42dffbe898
@ -6,6 +6,7 @@ namespace Mirror
|
||||
{
|
||||
public static class PredictionUtils
|
||||
{
|
||||
// rigidbody ///////////////////////////////////////////////////////////
|
||||
// move a Rigidbody + settings from one GameObject to another.
|
||||
public static void MoveRigidbody(GameObject source, GameObject destination)
|
||||
{
|
||||
@ -56,6 +57,7 @@ public static GameObject CopyRelativeTransform(GameObject source, Transform sour
|
||||
return child;
|
||||
}
|
||||
|
||||
// colliders ///////////////////////////////////////////////////////////
|
||||
// move all BoxColliders + settings from one GameObject to another.
|
||||
public static void MoveBoxColliders(GameObject source, GameObject destination)
|
||||
{
|
||||
@ -143,6 +145,7 @@ public static void MoveAllColliders(GameObject source, GameObject destination)
|
||||
MoveMeshColliders(source, destination);
|
||||
}
|
||||
|
||||
// all /////////////////////////////////////////////////////////////////
|
||||
// move all physics components from one GameObject to another.
|
||||
public static void MovePhysicsComponents(GameObject source, GameObject destination)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user