Topic: How to get the position of a clone?
Hi, everyone!
I have a question. Is it possible to get the position of a clone object?
Let's say I have simple script like this:
Sphere = getObject("Sphere")
function onSceneUpdate()
bullet = getClone(Sphere)
translate(bullet, {0, 1, 0}, "local")
end
Now, I can get the position of the Sphere using getPosition(Sphere). But how can I get the position of the bullet? I tried using the same getPosition function, but it doesn't seem to work. Anyone can help?