Edit of asset "Simple camera shake effect" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Simple camera shake effect | Simple camera shake effect |
Description |
Godot camera shake plugin Adds one node. You can put this node under any 3D camera as child. Remember that position of camera is now under control of node. Use provided functions to move camera without causing mess, or at least during effect. Properties shake_size Maximal size of shaking shake_speed Speed of shaking shake_x Enables/disables shaking on global X axis shake_y Enables/disables shaking on global Y axis shake_z Enables/disables shaking on global Z axis Functions start_effect() Call it once. Initializes and starts shaking stop_effect() Call it any amount of times. Stops shaking set_position(Vector3 positon) Smoothly move camera during shaking, use this instead of manipulating camera directly teleport(Vector3 positon) Instantly moves camera during shaking, use this instead of manipulating camera directly You still can manipulate camera directly but only if effect is not active, otherwise you'll cause mess |
Godot camera shake plugin Adds one node. You can put this node under any 3D camera as child. Remember that position of camera is now under control of node. Use provided functions to move camera without causing mess, or at least during effect. Properties shake_size Maximal size of shaking shake_speed Speed of shaking shake_x Enables/disables shaking on global X axis shake_y Enables/disables shaking on global Y axis shake_z Enables/disables shaking on global Z axis Functions start_effect() Call it once. Initializes and starts shaking stop_effect() Call it any amount of times. Stops shaking set_position(Vector3 positon) Smoothly move camera during shaking, use this instead of manipulating camera directly teleport(Vector3 positon) Instantly moves camera during shaking, use this instead of manipulating camera directly You still can manipulate camera directly but only if effect is not active, otherwise you'll cause mess |
Category | Misc | Misc |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/Garrom/CameraShakePlugin | https://github.com/Garrom/CameraShakePlugin |
Issues Url | https://github.com/Garrom/CameraShakePlugin/issues | https://github.com/Garrom/CameraShakePlugin/issues |
Godot version | Godot 3.2 | Godot 3.2 |
Version String | 1.0.0 | 1.0.0 |
Download Commit | 148e9f6324e208ffc752f7bacbc10df0445f6c90 | 148e9f6324e208ffc752f7bacbc10df0445f6c90 |
Download Url (Computed) | https://github.com/Garrom/CameraShakePlugin/archive/148e9f6324e208ffc752f7bacbc10df0445f6c90.zip | https://github.com/Garrom/CameraShakePlugin/archive/148e9f6324e208ffc752f7bacbc10df0445f6c90.zip |
Icon Url |
https://raw.githubusercontent.com/Garrom/CameraShakePlugin/master/addons/Camera%20Shake%20Plugin/project_icon.png
|
https://raw.githubusercontent.com/Garrom/CameraShakePlugin/master/addons/Camera%20Shake%20Plugin/project_icon.png
|