Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I move the object in the y axis equal to the ball
Please take a look at the photo
Screenshot_1.png - Google Drive[^]

What I have tried:

How can I move the object in the y axis equal to the ball
Posted
Updated 14-Nov-19 6:56am
Comments
Richard MacCutchan 14-Nov-19 4:34am    
You need to show the code you are using and explain where the problem is. That picture does not tell us what is wrong.
ZurdoDev 14-Nov-19 7:24am    
What he said. ^

1 solution

Recalculate the position of what you want to update during the "frame update" phase.

Quote:
Update: Update is called once per frame. It is the main workhorse function for frame updates.


Unity - Manual: Order of Execution for Event Functions[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900