Thumbnail of Gravity Component Gravity Component

Avatar of BenVlodgi by BenVlodgi @ January 5, 2019

1 0 | 2 Comments

Blueprint

Tags: ,

Unreal Engine Version: 4.20

Drop this into a component and create the missing variables.

Keep the `PreviousOverrideGravity` private, the others public.

`GravityStrength` should default to 980.

You  can set the GravityDirection to any direction you want for custom gravity direction. For the regular direction set it to (0, 0, -1)

Blueprint Render

Rating: 1

Code to Copy

Click in textarea then do ctrl + a and after do ctrl + c. In Unreal Engine blueprint editor, paste it with ctrl + v

Code to Embed

Versions

You have to be connected for adding comments

2 Comments