Hey,

I want to move the spikes in a trap when it activates, but i cannot find the node to do so.
Can you please advise which node will move(transform) a prefab?
Post edited by fourscoopsplease on
  • I found this thread how to move an object

    I initially moved the machine object, but was getting nowhere until I realised that my grid cells kept getting higher and higher, SO in a grid battle, if you do a grid cell event, the grid cells are the Machine Objects (this makes sense being where the schematic is starting)

    SO I changed my actor to: Find Object and then used the Change Position node using Actor 0 as the object to move.
    Settings below for future users:image
  • If the spikes of the trap cell are a child object of the cell's game object, you can simply use the Child Object settings (e.g. in a Change Position node) to move the child object instead of the cell.

    Finding an object can be a bit performance heavy, so a child object setup would be better.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.