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.

Newcomers DBPro Corner / NG - Simple collision between world and player only

Author
Message
nrasool
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Surrey Area
Posted: 17th Apr 2004 19:00 Edited at: 17th Apr 2004 21:38
Issue has now been fixed. Object needed to be scaled after calling CollisionTypePRO().

A Good Programmer never blames his tools
nuclear glory
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 17th Apr 2004 21:09 Edited at: 17th Apr 2004 21:17
The collision radius you're setting for the player object is massive. Try using size values of (5,5,5) or the like and expand from there. I'm pretty sure that's it.

---

nevermind, lol, I think I know what the deal is now. Posted it on our forums.

Try scaling your object AFTER calling CollisionTypePRO().

The CollisionTypePRO() command resets the object's scale to 100, 100, 100 to prevent malfunctions when mesh objects are loaded, etc...

Lead Programmer/Director
Powerful Collision DLL for DBPro and DBC: http://www.nuclearglory.com
nrasool
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Surrey Area
Posted: 17th Apr 2004 21:36
Success!!!!!!!!!

Hi there

Got it working now, have explained in your forum, but scale the object again and it working fine. Need to remember this for next time.

Cheers Matthew

Excellent plugin by the way

A Good Programmer never blames his tools

Login to post a reply

Server time is: 2024-11-26 12:47:31
Your offset time is: 2024-11-26 12:47:31