summaryrefslogtreecommitdiff
path: root/scene/3d/ray_cast.h
AgeCommit message (Collapse)Author
2018-08-21Changes to ClippedCamera, RayCast,Raycast2D and 2D physics API to add ↵Juan Linietsky
ability to choose between bodies and areas when colliding.
2018-08-21Added ray / shape / point / motion / rest cast exclusion of area and or bodyAndrea Catania
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-11-30Ported 'Exclude Parent' from Raycast2D to RaycastMarco Masselli
2017-11-21Removed type_mask and fixed some variable nameAndreaCatania
2017-10-23missing set/get_collision_mask_bit() for RayCastJakub Grzesik
in the same fastion how it's implemented in Area or Bodies
2017-10-21Rename RayCasts collision_layer to collision_maskPedro J. Estébanez
The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`. Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property. Fixes #7589, where it's also discussed.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-06-14Refactor layer_mask to collision_layerPoommetee Ketson
2017-04-24Merge pull request #8102 from bd339/iss3172Rémi Verschelde
Show 3D raycasts when debugging collisions
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-30Show 3D raycasts when debugging collisionsBenjamin Dahse
Represent a raycast by a line segment using the direction and magnitude of the cast_to vector. The entire line segment will become red while a collision occurs.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-10-03Added force_raycast_update GDScript method for RayCast[2D]Karol Walasek
2016-04-09Port collision and layer masks to 3D, fixes #1759Bojidar Marinov
Raycasts now have type_mask and layer_mask. Areas - collision_mask and layer_mask. PhysicsBodies needed only collision_mask.
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-01-03-Work in progress visual shader editor *DOES NOT WORK YET*Juan Linietsky
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky