Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Odd NGC Error...

Author
Message
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 22nd Apr 2005 08:44 Edited at: 22nd Apr 2005 09:29
So I'm working on a project with someone and I begun the engine today, except for one small problem, collision, here's my very basic code, can't post the media cus it's too big:


First off only the player character falls to the arena, I think this is because the enemy hits the top of a pillar. But the problem is when I start it up I get a collision error, this is it word for word:
Quote: "invalid object number sent"


That's all. I have no clue what's the causing the problem or anything also the collision don't work great if I move towards the right hand side of the level befor e I reach the edge I suddenly drop...

Anyone know what the problem is?

Also sorry if this is the wrong board.

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 22nd Apr 2005 09:21
I'll take a look at this. Check your email.

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 22nd Apr 2005 09:40
Okay, thanks.

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 22nd Apr 2005 09:47
The problem was with your constants. You used TYPE_OBJ when you initialized it and tried to send it as TYPE_OBJECT for object number 2

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 22nd Apr 2005 09:58
OH!

What a stupid mistake I made.

Thanks.

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 22nd Apr 2005 10:12
Sorry for the double post but my level has pillars in it and for some reason the player can walk thru them, does anyone see a reason for this?

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 22nd Apr 2005 10:19
Quote: "What a stupid mistake I made."


I love having the debugger back. With step through mode took like 30 secs to find it.

Quote: "Sorry for the double post but my level has pillars in it and for some reason the player can walk thru them, does anyone see a reason for this?"


Put your movement code before RunCollisionPRO() instead of after

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 22nd Apr 2005 10:53
Oh okay thankyou.

Login to post a reply

Server time is: 2024-11-23 10:21:39
Your offset time is: 2024-11-23 10:21:39