I know how can I set the object's position to another object, but I can't find how can I set the rotating to another object, please help.
Develop games in your browser. Powerful, performant & highly capable.
Instead of setting the angle to a specific number like 30 you set it to the other objects property.
So set angle to otherobject.angle
Thanks WackyToaster now it works