virtualx-engine/scene/3d
tagcup e9896b17a9 Restore the behavior of Spatial rotations recently changed in c1153f5.
That change was borne out of a confusion regarding the meaning of "local" in #14569.

Affine transformations in Spatial simply correspond to affine operations of its Transform. Such operations take place in a coordinate system that is defined by the parent Spatial. When there is no parent, they correspond to operations in the global coordinate system.
This coordinate system, which is relative to the parent, has been referred to as the local coordinate system in the docs so far, but this sloppy language has apparently confused some users, making them think that the local coordinate system refers to the one whose axes are "painted" on the Spatial node itself.

To avoid such conceptual conflations and misunderstandings in the future, the parent-relative local system is now referred to as "parent-local", and the object-relative local system is called "object-local" in the docs.

This commit adds the functionality "requested" in #14569, not by changing how rotate/scale/translate works, but by adding new rotate_object_local, scale_object_local and translate_object_local functions. Also, for completeness, there is now global_scale.

This commit also updates another part of the docs regarding the rotation property of Spatial, which also leads to confusion among some users.
2017-12-27 16:40:49 -05:00
..
area.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
area.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
arvr_nodes.cpp Reserved controller ids 1 and 2 for left and right hand controllers and added new center on hmd option 2017-12-22 01:21:23 +11:00
arvr_nodes.h Adding rumble support to ARVR controllers (if implemented on the ARVR interface) 2017-11-01 23:59:14 +11:00
audio_stream_player_3d.cpp Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function, 2017-11-25 00:09:40 -03:00
audio_stream_player_3d.h Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
baked_lightmap.cpp -Removed OpenMP support, replaced by a custom class. 2017-12-24 09:32:12 -03:00
baked_lightmap.h -Make capture dependent on a cell size, not subdivision. 2017-12-21 11:05:55 -03:00
bone_attachment.cpp Remove assignment and declarations in if statements 2017-09-08 14:59:15 +02:00
bone_attachment.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
camera.cpp Merge pull request #14977 from volzhs/fix-crash-group 2017-12-26 11:43:02 -03:00
camera.h Fixes 3d camera keep aspect. 2017-12-22 14:24:38 -06:00
collision_object.cpp Fix: CollisionObject shape owner indexing is inconsistent 2017-09-24 15:55:45 +07:00
collision_object.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
collision_polygon.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
collision_polygon.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
collision_shape.cpp Remove assignment and declarations in if statements 2017-09-08 14:59:15 +02:00
collision_shape.h Fix files header 2017-09-01 21:07:55 +07:00
gi_probe.cpp -Add lightmapper 2017-12-14 09:01:27 -03:00
gi_probe.h -Add lightmapper 2017-12-14 09:01:27 -03:00
immediate_geometry.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
immediate_geometry.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
interpolated_camera.cpp Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
interpolated_camera.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
light.cpp -Add lightmapper 2017-12-14 09:01:27 -03:00
light.h -Add lightmapper 2017-12-14 09:01:27 -03:00
listener.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
listener.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
mesh_instance.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
mesh_instance.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
multimesh_instance.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
multimesh_instance.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
navigation.cpp Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created. 2017-12-15 15:09:06 -05:00
navigation.h Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created. 2017-12-15 15:09:06 -05:00
navigation_mesh.cpp Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created. 2017-12-15 15:09:06 -05:00
navigation_mesh.h Recast integration. 2017-09-04 21:41:57 +01:00
particles.cpp particles spread/flatness fixes, pi factorization 2017-12-15 23:53:53 +01:00
particles.h -Fix particles with size==0, closes #13931 2017-12-06 19:51:13 -03:00
path.cpp Fix PathFollow rotations. 2017-10-21 12:51:49 -04:00
path.h Fix PathFollow rotations. 2017-10-21 12:51:49 -04:00
physics_body.cpp Fixed bad bindings 2017-12-11 01:42:16 +01:00
physics_body.h Implemented physics linear and angular lock 2017-12-10 17:21:14 +01:00
physics_joint.cpp Fix joints collision exceptions 2017-08-29 23:46:44 +02:00
physics_joint.h Dead code tells no tales 2017-08-27 22:13:45 +02:00
portal.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
portal.h Cleanup some #if 0'd code 2017-12-17 15:40:24 +01:00
position_3d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
position_3d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
proximity_group.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
proximity_group.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
ray_cast.cpp Ported 'Exclude Parent' from Raycast2D to Raycast 2017-11-30 20:01:19 +01:00
ray_cast.h Ported 'Exclude Parent' from Raycast2D to Raycast 2017-11-30 20:01:19 +01:00
reflection_probe.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
reflection_probe.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
remote_transform.cpp Fix files header 2017-09-01 21:07:55 +07:00
remote_transform.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
room_instance.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
room_instance.h Cleanup some #if 0'd code 2017-12-17 15:40:24 +01:00
scenario_fx.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
scenario_fx.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
SCsub Fix disable_3d=yes compile errors 2017-10-22 21:24:20 +03:30
skeleton.cpp Change skeleton processing to work on global coordinates, should help fix many import problems from Blender, GLTF2, etc. 2017-12-21 17:36:39 -03:00
skeleton.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
spatial.cpp Restore the behavior of Spatial rotations recently changed in c1153f5. 2017-12-27 16:40:49 -05:00
spatial.h Restore the behavior of Spatial rotations recently changed in c1153f5. 2017-12-27 16:40:49 -05:00
spatial_velocity_tracker.cpp Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
spatial_velocity_tracker.h Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
sprite_3d.cpp Fix Sprite3D alpha_cut member not being initialized 2017-12-17 22:07:43 +01:00
sprite_3d.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
vehicle_body.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
vehicle_body.h Added VehicleWheel::get_skidinfo(). 2017-09-30 03:02:16 +02:00
visibility_notifier.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
visibility_notifier.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
visual_instance.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
visual_instance.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
voxel_light_baker.cpp Change the rotate function of Spatial to be local, makes more sense. Closes #14569 2017-12-26 12:45:56 -03:00
voxel_light_baker.h -Removed OpenMP support, replaced by a custom class. 2017-12-24 09:32:12 -03:00