View Tutorial Content

Make objects pushable

Tutorial
Beginner
+10 XP
15 Mins
(212)
Overview
Live
Groups
Summary
The distinctive move in a Sokoban puzzle is the player pushing obstacles around the grid. In this tutorial, you’ll learn the calculations required to make one moving object appear to push another across Clive’s Crypt, so that you can script this functionality and customize it as you continue to develop this level.
By the end of this tutorial, you’ll be able to:
  • Write a visual script that calculates and adjusts a GameObject’s position.
  • Include a visual script inside another.
  • Given a desired result, code an appropriate visual script.
Select your Unity version
Last updated: April 21, 2021
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
Language
English
Make objects pushable