Last active
March 31, 2017 21:40
-
-
Save justonia/efca403e965d44c3d683c4f8a9dff8e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class PhysicsExtensions | |
{ | |
public static void ToWorldSpaceCapsule( | |
this CapsuleCollider capsule, | |
out Vector3 point0, out Vector3 point1, out float radius); | |
public static void ToWorldSpaceBox( | |
this BoxCollider box, | |
out Vector3 center, out Vector3 halfExtents, out Quaternion orientation); | |
public static void ToWorldSpaceSphere( | |
this SphereCollider sphere, | |
out Vector3 center, out float radius); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment