Notifications
bg
E
ErolHuseyin
Enfield Town, United Kingdom
0
Likes
0
Followers
0
Connections
All
Articles0
Games0
Showcases0
Column0
Jobs0
Hey everyone, I'm a complete n00b at any kind of programming, but my graphic skills are pretty good, so I've got a lot of work to do. I need some help. I'm trying to figure out how I can make one thing fly across from the left to the middle and then have the camera locked to the object so it remains in the middle. If anyone could advise me, that would be fab! :D

BA
9 months ago
You can move object left to right with transform.Translate(). Then create an cube make it an invisible trigger. Inside of trigger componnent make references to main camera and your flying object (obj.transform.gameobject.GetComponent<Component>). Then set camera as a child of your flying object. When parents move in space child object will follows. I hope this will help look at internet probably there is much more ways to do it. Have fun. :D
About Me
No description
See more
Skills
No skills added yet
Certifications (0)
Import
See all
ErolHuseyin's liked projects (0)
No likes yet
Following (0)
Not following anyone yet
Followers (0)
No followers
Following Companies (0)
Not following anyone yet