Howdy, Stranger!

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

Share attributes between actors?

mikeouimikeoui Posts: 1Member
edited August 2017 in Working with GS (Mac)

I want two actors to align with each other if they collide (it's part of dragging an item into a container). Is there anyway to get the container's position when the object collides with it in order to align the two? The item could be dragged to any number of containers so the position would depend on the specific container.

I'm hoping there is someway to get the attributes of the container it collides with.

If there is even just a way to get the ID number or name of the actor it collided with, I could do the rest with a table if necessary.


  • SocksSocks London, UK.Posts: 12,822Member

    When the container collided with the item (being dragged) - copy the container's X and Y to two game attributes. The item (being dragged) can access these two game attributes.

Sign In or Register to comment.