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 / NG - Unknown parameter - why?

Author
Message
Mac
19
Years of Service
User Offline
Joined: 18th Jan 2005
Location: London
Posted: 3rd Feb 2005 01:52
This code is straight out of the NG manual.



But it returns an unkown parameter for the SetCollisionsPRO statement.

The .dll is in the project folder and the include file is part of the project.

Any ideas please?
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 3rd Feb 2005 03:37
What version are you using? In v3 you need to set the priority as well.

SetCollisionsPRO( ARMY_MEN, WORLD_MESHES, ELLIP_2_POLY, RESP_SLIDE, DYN_NO_RESP, 0 )

Mac
19
Years of Service
User Offline
Joined: 18th Jan 2005
Location: London
Posted: 3rd Feb 2005 03:42
Aye thanks, I discovered this myself about 10 minutes ago. They should really update the docs, that code was copied directly from the 'first steps' section of the 'walkthrough' chapter, not a great start
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 3rd Feb 2005 05:23
Glad you got it working.

Login to post a reply

Server time is: 2024-04-20 08:20:42
Your offset time is: 2024-04-20 08:20:42