The Daily Click ::. Forums ::. Klik Coding Help ::. Annoying groups...
 

Post Reply  Post Oekaki 
 

Posted By Message

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
28th October, 2009 at 17:21:15 -

Ok, so I have a weird problem.

I'm using groups, right? So I make an active object that is Group.Neutral and

Player collides with Group.Neutral > Stop Player

It works. But then I make active object 2, and also make it part of Group.Neutral

But the player goes through active object 2!

What do you think is the problem? I know the event says Group.Neutral and I know ActiveObject 2 is Group.Neutral. It boggles my mind...

 
n/a

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
28th October, 2009 at 19:14:40 -

Try Group collides with Player instead of Player collides with Group. Are you using TGF?

 
This space is for rent

Devernath



Registered
  04/12/2004
Points
  54

VIP Member
28th October, 2009 at 20:17:40 -

Yes, I am.

And that worked for some reason.... I wonder why

 
n/a

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4075

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
29th October, 2009 at 00:15:25 -

;_; I thought this topic was going to be about people.

 
-

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
29th October, 2009 at 00:17:48 -

It's because the game doesn't know which object of the group to check for a collision with. It might make perfect sense to you, but this is where you need to understand that the computer can't automatically assume anything to be true. So first you need to call up the player, and than call up which object of the group it's colliding with.

 
http://www.facebook.com/truediamondgame
   

Post Reply



 



Advertisement

Worth A Click