Forum rules - please read before posting.

Add an object then teleport it.

edited June 2017 in Technical Q&A
How do you add an object (prefab) and then teleport it? Because you cant refer to the runtime object can you? Im sure I did this but I have forgotten how!.. 

edit: i see the "constantid" is the same when I refer to the prefab, so maybe it can work, but for some reason my object is not teleported?

edit: actually I think the ai system im using is causing the problems and moving him back after teleporting, I just want an easy way to create and position enemies.. 

Comments

  • Be sure to use v1.57.  The Object: Add or remove Action has a Position relative to field, which you can use to set the prefab's position at the time it is instantiated.

    If set relative to a GameObject, then it should take that GameObject's position - provided the prefab itself has a position of (0,0,0).
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.