milkjunk87 Posted March 3, 2016 Share Posted March 3, 2016 RaycastResult myanswer= World.RaycastCapsule(coord - new Vector3(0,0,radius), coord + new Vector3(0,0,radius), radius, IntersectOptions.Everything, superpunchme); Using the above code in the on tick bit of my code and cant seem to get it to work? Anyone know why? im using it for collision detection Link to comment Share on other sites More sharing options...
milkjunk87 Posted March 8, 2016 Author Share Posted March 8, 2016 silly me forgot to label the radius float just wrote the equation Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now