CRE8OR - game maker for anim8or |
||
|
SHOOT RAY
Cre8or v0.12b features shoot ray events. I'll only go over the Mouse Ray. With shooting rays we need to select what objects we want to be hit by the ray. So we need to make a list of masks which to shoot the ray against. Here I added to different masks:
You're allowed 31 different masks. Here I set the ball object to EM_STUFF:
Here I set the under object to EM_OTHER, because I want to avoid it Make sure you set all your objects to some kind of mask:
Here I shoot the mouse ray and filter for only EM_STUFF Now it's time to have events when the ray hits an object:
Then you can decide how it should react. If you want the ray to be a force and physically react with the object add this action in the Mouse Ray event:
|
|
Copyrights (C) 2007 Keith Tabert |
||