Physical Box Pusher Tech Demo [Open Source]

This is a post presenting some new tech I developed for the moving of boxes

The box is a physics based object where the union allows the box to rotate on slopes
image

I made this because I also want to make those puzzles where you have to place boxes on platforms to activate them for example this one interacts with an object of the same color as a basic example.

it turns green when completed.

I have also included an example of using the box as a primitive to create different types of moving boxes.


The Red union is to illustrate and is normally invisible.
image

The module required to run this is located in the ServerStorage.
That being said, you can try out the Tech and Download a copy at this link!
Box Mover Tech Demo - Roblox

Quick little update; I have saved a new copy with the animsave provided .
I have tested and optimized the collisions.

So thus this is super efficient.
Check out the touch connection.

function touch(v)
		print("Touched Recalled")
		v.Touched:Once(function(hit)
			print("Touched")
			if not moving then
				local touched = onTouch(hit, v)
				if not touched then
					task.wait(0.1)
					touch(v)
				end
			else
				repeat
					task.wait(3)
				until not moving
				touch(v)
			end
		end)
	end

You can try out and download some of my other tech demos if you wish, here they are!
–Terrain Climber: Jump to climb sloped terrain .

–Realistic Water Effects Tech Demo

4 Likes

wow this is actually pretty cool! I might have to use this for some minigames!

For second I thought the statue was flipping me off lol

1 Like