Author Topic: Ray Casting  (Read 907 times)

I know this makes me sound like a total noob, but what IS ray casting anyway? I toggle it several times, but I never notice any difference...

ray casting is the ability to make a brick stop or let a projectile hit it. if it off, the projectile goes through the brick

ive never heard of ray casting, i thought it had to do with horse gun or something ya im a noob

ray casting is the ability to make a brick stop or let a projectile hit it. if it off, the projectile goes through the brick

but thats thesame as collision..

but thats thesame as collision..
Bullets can go through collision as long as ray casting is off.

the event OnActivate does not work if raycasting is off.

Example:
If a window has rendering and ray casting off, bullets can be shot either way, but players cannot go through the window. (and of course with rendering off it is see-through)

Badspot

  • Administrator
Things that use collision: Players, vehicles, dropped items
Things that use raycasting: Projectiles, "Activate" function (ie clicking on stuff), third person camera

Things that use collision: Players, vehicles, dropped items
Things that use raycasting: Projectiles, "Activate" function (ie clicking on stuff), third person camera

I also belive that jeep wheels use ray casting.

wtf is the point of spawning a jeep wheel anyway!?

Jeep wheels and the vehicle itself work together.

Oh, and another thing raycasting does.
When Raycasting and Collision are turned on, you can 'step' ontop of a brick higher than the one you currently stand on. (as long as it's not too high)
When Raycasting is off, and collision is on, you can no longer 'step' ontop of the brick, unless it ofcourse is equal height. (Lower would be falling onto, not stepping, anything higher cannot be step onto)