-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for CursorTrailRotate
skin command
#31519
Conversation
protected override void LoadComplete() | ||
{ | ||
base.LoadComplete(); | ||
loadCompleteTime = Parent!.Clock.CurrentTime; // using parent's clock since our is overridden |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dunno about this... And the Source.Parent
lookup in the DrawNode
too. If you just want to synchronise the rotation, can't there be some component orchestrating something along the lines of CursorTrail.PartRotation = Cursor.Rotation
in an Update()
somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, looks much more robust now 😅
Not sure about these CodeFactor issues. Like does it want me to add parenthesis in mentioned places? |
It's fine to ignore those CodeFactor issues, makes sense as it is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one - lgtm
Closes #31482
Preview: https://streamable.com/1g3bh8