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 / collision problem

Author
Message
doom on cats
20
Years of Service
User Offline
Joined: 31st Mar 2004
Location: stuck in a minnesota blizzard
Posted: 2nd Apr 2004 03:13
well i was wondering if someone could give me a code for this: i downloaded a model of a castle from the internet, and this is what i want to happen: when you walk up to the castle have an inisable object there,and when you hit this the screen flashes and your inside the castle instead of bieng outside like you were before. can anyone help with this?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Apr 2004 03:24
the best thing to explore and learn well is the distance function.

It can alleviate a massive slowdown with heaps of objects when collision is involved.

it can also prevent having to use a collision check for certain aspects,like getting close to a cube for a teleport like action.

here is a snippet that demonstrates the distance function as well as remarks where to place the collision factor if you want to.




Login to post a reply

Server time is: 2024-09-22 02:43:57
Your offset time is: 2024-09-22 02:43:57