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 / Can Sparky's Collision DLL do anything else besides raycasting?

Author
Message
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 22nd Jun 2006 21:48 Edited at: 22nd Jun 2006 22:24
My questions are as follows:
1. ==Can Sparky's Collision DLL do anything besides raycasting?
and
2. ==Can it be used to make a player walk along a .x model, such as one exported from catography shop and use sliding collision like Nuclear Glory Collision Dll can?

Sorry, I'm new to this and I would like to know how powerful the sparky's Collision Dll really is. All I see in the examples is raycasting.

Thanks.

I doubt you can draw me/60 by hand, so you REALLY can't draw ME/1, can you?
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 23rd Jun 2006 00:03
Why not download it and see. You will see it also does very good sliding collision aswell, full examples are in the download. Raycasting does multiple collisions aswell and is faster than DBPros ray casting.

http://forum.thegamecreators.com/?m=forum_view&t=74762&b=5

Boo!
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 23rd Jun 2006 02:32 Edited at: 23rd Jun 2006 02:33
I had an older version of the dll without sliding collision. Thanks for the update! But one thing:

What's a collision "normal" ?

I doubt you can draw me/60 by hand, so you REALLY can't draw ME/1, can you?
XGoDSouL
20
Years of Service
User Offline
Joined: 14th Jun 2004
Location:
Posted: 23rd Jun 2006 20:03
Best way to understand is to put print out the results of the commands you want to learn! =)
Collision normal is the vector (x-y-z componments) which represents the polygon angle you've tested collision with.
For example, if you want to put a bullet hole on your map... you load the image, put it on a plain, and then you want to stick it perfecly on your map which contains spheres or other non-regular objects... You get the normal, (x-y-z) and apply it to your bullet hole plain, and TADAM it sticks perfectly (or almost) on the wall/object/whatever.
Note that the x-y-z componments of the normal are based on a -1 to 1 scale (just as trigonometry, sin/cos)
There's an example of this usage on the link provided by spooky (the TerrainDemo example)...

The usage of Normals aren't limited to bullet-holing, though... you may multiple usages to this feature!
Good luck in knowledge seeking =)
May the collision detection be with you. =)
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 24th Jun 2006 00:41
Quote: "May the collision detection be with you. =) "


hahahahaha

Thanks.

I doubt you can draw me/60 by hand, so you REALLY can't draw ME/1, can you?

Login to post a reply

Server time is: 2024-11-22 06:40:40
Your offset time is: 2024-11-22 06:40:40