How techjuego/unrealenignec-_trigonometricmovement works
This small Unreal Engine project contains two independently configurable actor components: one moves its owning actor along per-axis sine waves, and the other rotates it similarly. Each captures the actor’s starting transform at play start, then updates that transform on component ticks using editable amplitude and frequency values. The excerpts show each component’s calls to its actor, but not how components are attached or enabled in a project, so those relationships are omitted.
Main entry points: TrigonometricMovement.cpp Sine Movement · TrigonometricRotation.cpp Sine Rotation
Components 3
Other components
- Sine Movement
TrigonometricMovement.cpp - Sine Rotation
TrigonometricRotation.cpp - Owning Actor
Connections 4
- Sine Movement → Owning Actor: captures position
TrigonometricMovement.cpp - Sine Movement → Owning Actor: sets location
TrigonometricMovement.cpp - Sine Rotation → Owning Actor: captures rotation
TrigonometricRotation.cpp - Sine Rotation → Owning Actor: sets rotation
TrigonometricRotation.cpp