Spawning actor, that matches width of parent?

machinegunkellymachinegunkelly Member Posts: 56
edited June 2012 in Working with GS (Mac)
Is this possible?

I'm getting tired of laying out ground sensors under my platforms ( required due to 3dish viewpoint)

I'd like to spawn a groundsensor under each platform, and have it match it's parents width... is this possible?
perhaps I'm too tired this morning, but can't seem to figure out a way :P

( will it be a resource hog IF it is possible ) ?

Answers

  • UtopianGamesUtopianGames Member Posts: 5,692
    Might be best if you spawn them via the platform actor and have a few different sizes.

    So if you have a platform actor that's 200 wide spawn a collision actor that's already 200 wide, make sure movable is off though...guess it all depends on how many different sized platform actors your using.

    Darren.
  • master200012master200012 Member Posts: 372
    I believe the most efficient way of doing this is to use the new writable table functions. It will use up much less performance and can have a steady attribute (the parent's width) to match all new ground sensors.

    I hope this helps!
  • machinegunkellymachinegunkelly Member Posts: 56
    hmm :P

    I haven't begun to even look at the tables yet, will have a look into that and hope I get somewhere!

    thanks guys!
Sign In or Register to comment.