You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to use this package for arbitrary game objects? I tried attaching a game object without a camera to cameraTransform, but the shake was only being applied to its rotation, not position.
The reason I ask is because my canvas is set to World Space - Camera. Shaking the camera won't do anything, because the canvas will move itself to match the camera. I was thinking that I could simulate a canvas screen shake by setting a RectTransform as the target object, but it looks like only the rotation is working (this is true for regular transforms as well, not just RectTransforms). Right now, I'm not sure if there's a way to apply the screenshake to a Canvas.
The text was updated successfully, but these errors were encountered:
Is there any way to use this package for arbitrary game objects? I tried attaching a game object without a camera to
cameraTransform
, but the shake was only being applied to its rotation, not position.The reason I ask is because my canvas is set to World Space - Camera. Shaking the camera won't do anything, because the canvas will move itself to match the camera. I was thinking that I could simulate a canvas screen shake by setting a RectTransform as the target object, but it looks like only the rotation is working (this is true for regular transforms as well, not just RectTransforms). Right now, I'm not sure if there's a way to apply the screenshake to a Canvas.
The text was updated successfully, but these errors were encountered: