Skip to main content

ImpulseCamera

Add another layer of effects over any other camera by allowing an "impulse" to be applied. Good for shockwaves, camera shake, and recoil.

Functions

Impulse

ImpulseCamera:Impulse(velocityVector3) → ()

Applies an impulse to the camera, shaking it!

Show raw api
{
    "functions": [
        {
            "name": "Impulse",
            "desc": "Applies an impulse to the camera, shaking it!",
            "params": [
                {
                    "name": "velocity",
                    "desc": "",
                    "lua_type": "Vector3"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 32,
                "path": "src/camera/src/Client/Effects/ImpulseCamera.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "ImpulseCamera",
    "desc": "Add another layer of effects over any other camera by allowing an \"impulse\"\nto be applied. Good for shockwaves, camera shake, and recoil.",
    "source": {
        "line": 7,
        "path": "src/camera/src/Client/Effects/ImpulseCamera.lua"
    }
}