Skip to content
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

[Merged by Bors] - example on how to create an animation in code #4399

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
no need for .to_string()
Co-authored-by: devil ira <xytoluh@gmail.com>
  • Loading branch information
mockersf and devil ira authored Apr 3, 2022
commit 5f237586ccde240cdd7391f27cfaa2713796d73a
6 changes: 3 additions & 3 deletions examples/animation/animated_transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ fn setup(
});

// Animation use name to target entities.
mockersf marked this conversation as resolved.
Show resolved Hide resolved
let planet = Name::new("planet".to_string());
let orbit_controller = Name::new("orbit_controller".to_string());
let satellite = Name::new("satellite".to_string());
let planet = Name::new("planet");
let orbit_controller = Name::new("orbit_controller");
let satellite = Name::new("satellite");

// Creating the animation
let mut animation = AnimationClip::default();
Expand Down