Quick, easy n00b question, transfer transform?

Basically I want one object to follow anothers transform and rotation exactly.

I can’t use a parent for this as there’s some smoothlookat going on that’d just balls the whole deal up.

basically through copying the appropriate aspects

transform.position = target.transform.position;
...

these are structs and always go through “by value” so above are actual copies, not pointers

Thanks for your reply :]

Aaaaand Ima follow this up with an equally n00bish question :stuck_out_tongue:

How do I call the other object, the object I want to copy the transform/rotation from?

Say my Target object is a cube named “Dude”

transform.position = Dude.transform.position;

Doesn’t seem to work, sorry I know these are stupid questions, but I’m an artist not a programmer :stuck_out_tongue:

You need to have a variable called “Dude” in your script and then drag the Dude object to it in the inspector.