Parenting & Collision

Game Editor comments and discussion.

Parenting & Collision

Postby matthornb » Fri Mar 25, 2005 7:56 pm

I have a situation in my minigolf game in which each ball actor is a parent of another actor (a putter).

There are a maximum of four players, each with a ball and putter.

At the beginning of a turn, the putter is visible and can be rotated around the ball in a 360-degree circle.

When the player hits the ball, the putter goes transparent until that player's turn cycles around again.

I'm trying to implement physical response when a player hits another player's ball.

Unfortunately, when a ball (i.e. "ball1") is set to respond to a collision with one of the other balls, it responds to the (temporarily transparent) putter as well.

I tried setting the putters' Collision State to "Disable", this unfortunately did nothing.

Is there any way to make the collisions work without unparenting the putters and balls?
matthornb
 
Posts: 8
Joined: Thu Jan 13, 2005 2:46 am
Location: Houston, TX.
Score: 0 Give a positive score

Postby yep » Sat Mar 26, 2005 12:25 am

why the hell are you using parent?

just do it as normal actors
sup?
yep
 
Posts: 15
Joined: Thu Mar 24, 2005 6:28 pm
Score: 0 Give a positive score

Postby Just4Fun » Sat Mar 26, 2005 1:52 am

Matt:

I'm having trouble understanding why the "Collision State" -->Disable isn't working for you. Did you try changing the Collision State Actor: "Event Actor" to your Actor's name? It seems like the "Collision State" Action would be the best way to go. You might also try isolating the Collision Events by naming each Actor separately in the Event rather than just using "Event Actor"...

Have you tried the "Disable Event" Action?
You might be able to use it while the actor is transparent and then use the "Enable Event" again when the Actor becomes visible.

I'm not sure if this will do the trick, but it might be worth a try.
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron