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.

3 Dimensional Chat / Tiles & Collisions

Author
Message
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 22nd Oct 2002 14:02
Down that DBPro is working more or less properly, I'm now going to blunder into 3D graphics, hence the following question :

After creating a set of plains in Cinema4D, and exporting then to .X, with DBPro be able to collision detect each of the plains seperately ?
Yes, I really am THAT good...
ChipOne
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Canada
Posted: 22nd Oct 2002 22:44
the answer is yes, but the solution will depend on how you exported them.

are you exporting them seperately, or as one object?

seperately:
no problem. just check against each object number (or with 0 as the second object number to arbitrarily get the plain that is being collided with.

as one:
you'll have to write a function that does the following:
1) checks for collision with the object
2) returns a number that indicates the co-ordinates or 'plain number' of the plain that is being hit. if all your plains are the same size, and you know the dimensions of them, this is quite simple.

-= i only do what my rice krispies tell me to do =-
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 22nd Oct 2002 23:17
It'll be one (big) .X file...

Yes, I really am THAT good...

Login to post a reply

Server time is: 2024-03-29 11:48:57
Your offset time is: 2024-03-29 11:48:57