mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #105437 from Ansraer/teleport_spatial_nodes
Allow moving meshes without motion vectors
This commit is contained in:
commit
8954125990
13 changed files with 55 additions and 7 deletions
|
|
@ -412,6 +412,7 @@ public:
|
|||
// This will either be the interpolated transform (when using fixed timestep interpolation)
|
||||
// or the ONLY transform (when not using FTI).
|
||||
Transform3D transform;
|
||||
bool teleported = false;
|
||||
|
||||
// For interpolation we store the current transform (this physics tick)
|
||||
// and the transform in the previous tick.
|
||||
|
|
@ -1054,6 +1055,8 @@ public:
|
|||
virtual void instance_set_visible(RID p_instance, bool p_visible);
|
||||
virtual void instance_geometry_set_transparency(RID p_instance, float p_transparency);
|
||||
|
||||
virtual void instance_teleport(RID p_instance);
|
||||
|
||||
virtual void instance_set_custom_aabb(RID p_instance, AABB p_aabb);
|
||||
|
||||
virtual void instance_attach_skeleton(RID p_instance, RID p_skeleton);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue