- Home /
Question by
DreamCarver · Oct 25, 2017 at 04:04 AM ·
cameratransformvelocity
Transform an object based on another object's velocity?
Basically, I have a child sprite attached to the main character. I want this sprite to be the camera's focus and move a little bit ahead of the main character based on the character's velocity, so that the player can see what's coming up.
Unfortunately I am oh so very new to all this and I have no idea how to turn velocity into a transform, let alone call velocity. I'm not sure where to look in the big book of scripts, either...
If you can at least point me in the right direction, I'd be thankful. Thank you very much.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612141802im_/https://answers.unity.com/themes/thub/images/avi.jpg)