- Home /
addforce question for android?
I'm doing an addforce to a gameobject that is directly controlled by my character controller as well as a target gameobject that works with the same code or similar. I have also added a debug dot drawray function that draws the ray, but when I try to shoot my gameobject down the ray it doesn't shoot in the same direction that the drawray function is pointing. What is the problem, do I have to buy the pro version to get this to work? I can see the ray being drawn perfectly, but when I try to shoot it goes off screen and doesn't follow the path that the ray shows.
Your answer
![](https://koobas.hobune.stream/wayback/20220613122816im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
RigidBody falls through the ground 0 Answers
Add force look at 1 Answer
rigidbody.AddForce to another object 2 Answers
Add force only to specific layer? 1 Answer
AddForce problem 1 Answer