Closed P5ina closed 6 months ago
Weirdly enough look modes work when previewed in the editor (@tool) but NOT when the scene is actually run
Why phantom camera properties is so strange? Why don't just use @export
and get
set
for updating properties
Have pushed a PR (#182), which should fix the issue. Give that a go and see if that works.
Why phantom camera properties is so strange? Why don't just use
@export
and get set for updating properties
While @export
does allow for adding variables to the inspector for a given node, until Godot 4.2, it didn't allow for dynamically hiding properties you didn't need. E.g. you wouldn't want to show all the Group Follow
specific properties alongside everything else if you used Simple Follow
. _get_property_list()
, on the other hand, does allow for that. — link to the docs.
Am currently rewriting the property system to utilize @export
with the aforementioned ability introduced in Godot 4.2 (_validate_property()) for v0.7 in #169
@ramokz That's really nice to hear, thanks for your asset, it's very good!
Issue description
If you set
Look at Mode
toMimic
orSimple
then phantom camera doesn't mimic rotation or look to target. I've discovered why this happens, for some reason_has_look_at_target
always false. This is doesn't happens withGroup
mode.Steps to reproduce
Camera3D
PhantomCameraHost
as a child ofCamera3D
PhantomCamera3D
Node3D
with some rotating script on itLook at Mode
toMimic
Look at Target
to createdNode3D
(Optional) Minimal reproduction project
No response