Can`t throw an object aligned with vertical angle of the camera with .velocity = transform.TransformDirection( Vector3.forward)
I made a script for throwing a grabbed object, but i don`t know how to make it so the object is being launched depending on the vertiacal angle of the camera. Here is the code http://pastebin.com/A7VFSbmy
Comment
Answer by GiViZed · Aug 28, 2016 at 07:14 PM
I figured it out, just use the AddForce(Camera.main.transform.forward * pushForce)
Your answer
Follow this Question
Related Questions
My audio doesn't play, I'm through my options... 1 Answer
VS Code or visual studio? 1 Answer
Need help with c# 1 Answer
Why the line appears in the incorrect place ? 0 Answers
I've got a problem with enemies following the player. 0 Answers