Templates

ClassWizard templates for GS_Juice — custom feedback motion tracks for world-space game-feel effects.

All GS_Juice extension types are generated through the ClassWizard CLI. The wizard handles UUID generation and cmake file-list registration automatically.

For usage guides and setup examples, see The Basics: GS_Juice.

python ClassWizard.py \
    --template <TemplateName> \
    --gem <GemPath> \
    --name <SymbolName> \
    [--input-var key=value ...]

 

Contents


Feedback Motion Track

Template: FeedbackMotionTrack

Creates a custom animation track for GS_Juice feedback sequences. A FeedbackMotionTrack child animates a world-space entity property (transform, material, audio, particle, etc.) via O3DE buses over a normalised [0,1] eased progress value. Tracks are referenced from GS_FeedbackSequence data assets.

Generated files:

  • Include/${GemName}/GS_Feedback/MotionTracks/${Name}Track.h
  • Source/GS_Feedback/MotionTracks/${Name}Track.cpp

CLI:

python ClassWizard.py --template FeedbackMotionTrack --gem <GemPath> --name <Name>

Post-generation — manual registration required:

In GS_JuiceDataAssetSystemComponent.cpp, add:

#include <path/to/${Name}Track.h>
// inside Reflect(context):
${Name}Track::Reflect(context);

Extensibility: Same polymorphic pattern as UiMotionTrack — any number of track types, discovered automatically via EnumerateDerived. World-space tracks differ from UI tracks in that they act on entity buses (TransformBus, material buses, etc.) rather than LyShine element interfaces. Init(ownerEntityId) caches the entity context; Update(easedProgress) drives the property.

See also: Feedback — the full feedback system architecture, built-in track types, and domain extension pattern.


See Also

For the full API, component properties, and C++ extension guide:

For all ClassWizard templates across GS_Play gems:


Get GS_Juice

GS_Juice — Explore this gem on the product page and add it to your project.