Forum rules - please read before posting.

Spawned moving object drag point is far away

Hi,
I have a moving object and it works fine if it's already spawned in game ,but if I have to Object:Add it and put it to a marker, moving the object doesn't work because the move point is a million light years away.

Images on here:

Any ideas?
:-$

Comments

  • Is there any difference with it between the already-spawned version vs the spawned one before being grabbed?  If they're both positioned at the same place, there must be some key difference between them, even if it's only apparent when going through the Hierarchy.
  • Hi Chris
    No there's no difference, the already spawned one I drag directly into the scene from the prefab into the position where the spawned one should be and drag it around just fine, it's just when I spawn it I can't move it
  • Drag it in from the prefab, as in at runtime?

    The grab point's position is irrelevant until you actually grab the object.  In what way doesn't it work, precisely?  Is it not interactive at all, or is it moving erratically?
  • edited November 2017
    Hey Chris,
    Thanks, it's working now! It was a problem with the camera, for some reason...

    Is there a way to make it so that the moveable/pickup feature is turned off? i.e. I wanted the picking up to only be avaliable on a certain screen so once they change to another one it's turned off again.
    Thanks Chris! :)
  • Yes - you can use the Object: Send message Action on it to pass the "Turn On" and "Turn Off" messages to it.
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.