MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_transform

Method get_transform

scene/3d/node_3d.cpp:404–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404Transform3D Node3D::get_transform() const {
405 ERR_READ_THREAD_GUARD_V(Transform3D());
406 if (_test_dirty_bits(DIRTY_LOCAL_TRANSFORM)) {
407 // This update can happen if needed over multiple threads.
408 _update_local_transform();
409 }
410
411 return data.local_transform;
412}
413
414bool Node3D::update_client_physics_interpolation_data() {
415 if (!is_inside_tree() || !_is_physics_interpolated_client_side()) {

Callers 15

bake_single_nodeMethod · 0.45
_update_remoteMethod · 0.45
_sync_body_stateMethod · 0.45
_sync_body_stateMethod · 0.45
_body_state_changedMethod · 0.45
_updateMethod · 0.45
_ray_castMethod · 0.45

Calls 1

Transform3DClass · 0.50

Tested by

no test coverage detected