Jump to content

UnrealOni/Documentation: Difference between revisions

A few notes on physics and gravity.
(For now I don't think I will post here all functions and variables. Only a few examples. If there are more, there is github to dl the project.)
(A few notes on physics and gravity.)
Line 164: Line 164:


Dev notes: the rotation parts can probably by recycled for cheat code '''''munitionfrenzy'''''. <!--use loop for increasing the angle-->
Dev notes: the rotation parts can probably by recycled for cheat code '''''munitionfrenzy'''''. <!--use loop for increasing the angle-->
==Physics==
===Gravity===
====Objects====
Set '''''Simulate Physics''''' and '''''Enable Gravity'''''
: In blueprint of object > Viewport tab (while mesh is selected) > Properties panel > Physics tab
Set '''''Simulate Physics''''' and '''''Enable Gravity''''' with '''Blueprints nodes'''
: ''Set Simulate Physics'' and ''Set Enable Gravity''
: If you disable '''''Can Characters Step Up On''''' via a Set node the object is still '''kickable'''.
: These settings are interesting for pickup items such as '''powerups''' and '''weapons'''.
8,018

edits