Question by
SpyderManToo · Dec 13, 2020 at 11:11 PM ·
rigidbodyprefabboxcolliderfalling
Obstacle prefab falls through floor
I'm making a project where the player jumps over obstacles. https://learn.unity.com/tutorial/lesson-3-1-jump-force?uv=2018.4&courseId=5cf96c41edbc2a2ca6e8810f≺ojectId=5cf9639bedbc2a2b1fe1e848#5ce35aa5edbc2a29e31b3c7a and the obstacle prefab keeps on falling through the floor. these are the inspector settings for the prefab
and these are the inspector settings for the ground
and this is the code i use for the movement of the prefab [img]https://i.imgur.com/1NaGveC.png[/img] how do i fix this?
screen-shot-2020-12-13-at-30829-pm.png
(90.7 kB)
screen-shot-2020-12-13-at-30913-pm.png
(136.6 kB)
Comment