Constrain an actor to another actor (for shadows)?
sSHAKESs
Member Posts: 27
I asked this before but no answer. Someone told me that you can't make an actor follow another actor without delays.
Does anyone know any other way to achieve this?
Does anyone know any other way to achieve this?
Comments
@sSHAKESs As u can see in this video i've made a shadow that follow the ball on the table.
I achieved this by constraining the shadow actor position X to ball position X
for sure i had to do this through a game attribute called ball x that always constrain to ball position x
If u have any question , just shoot
I did use this method to. I constrained the shadow to the actor on the x and y position. It does follow the actor but there is a slight delay. Someone here told me there will always be a delay because of how GS works. Can you show me more in detail how you did it so there's no delay?
http://www.youtube.com/watch?feature=player_embedded&v=OVSsYQJaJaI
Yes, I already tried that tutorial. There is still a slight delay. I'm not so sure if I want that effect though. I guess I might just have to work with it... it does look animated since there's a slight delay... hmmm...
I dont think the delay is very noticeable tbh so i wouldn't worry.
In the video above i think i went the scene/layers/hero/x.position route to constrain but not on my mac atm so cant check.
Darren.
BTW... is this going to be a remake of Double Dragon? Cool!
@marwanbarakat I played your game. I really like the light switch in the beginning. I think it's cute. The only things that I saw for improvement right now is to be able to change the portrait picture on the background to the user's personal photo... I'm sure people would love that feature. And when the ball bounces on the table, it just disappears to abruptly... maybe it would look more natural if it bounces a couple of time first and fades. Just suggestions... I think it's already a great game even without those!