How to know the size of my opponent?
carlos.varela.com
Member Posts: 99
How can an actor know the size of their opponents? Imagine that I need to put an actor over it, but with the same size of the actor that I collide, the size of the opponents could be different and I need calculate for each cases.
Comments
This problem have many other uses, this is only another sample need.
One actor is a certain size, and you want one type of actor to change its size to the other actors size?
coz i know what you will want to do
Well in order to simulate the hole, I overlap a new spawned "hole actor", a dark rectangle, over the current platform, but below the position of the "principal actor player", the problem is that I have very different platform with different sizes.
And I need the tall size of each platform in order to make the new hole with the size of platform on where "the principal actor player" is.