Modding:Advanced Blocks: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 63: Line 63:
# If the entity is colliding vertically. The sides of the block shouldn't push an entity away. So the <code>axis</code> of the <code>facing</code> has to be <code>Y</code>.
# If the entity is colliding vertically. The sides of the block shouldn't push an entity away. So the <code>axis</code> of the <code>facing</code> has to be <code>Y</code>.


'''How the we make the entity bounce?'''
'''How can we make the entity bounce?'''


We can revert its motion by doing the following:
We can revert its motion by doing the following:
Confirmedusers, editor, Administrators
886

edits