Skip to content

Shaker #33

Description

@nullbuilds

Is your feature request related to a problem? Please describe.
Shaking the camera and/or enemies/props is a very common effect used to convey damage. The implementation of shake is very common across projects due to a definitive GDC talk on the subject. Reimplementing the same shake effect in every game is tedious and error-prone.

Describe the solution you'd like
A node which shakes a target node using translation and/or rotation. The shake effect should look good in slow-motion (ie be continuous) and allow for custom limits in each axis, custom frequency, and a custom rate of decay.

Describe alternatives you've considered
A node could shake itself or its children but this makes it more difficult to combine it with other effects that may also be affecting their children. A shake class or function could also work but requires more code to setup compared to a node.

Additional context
Skyjacker has a good implementation of a shaker node.

Metadata

Metadata

Assignees

Labels

status/approvedThis issue has been approved for implementation.type/enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions