DMC 1_Box Collider, Boarder

In this class, we reviewed what we learned last time.

And we learned how to make an 3D object and boarders.

When we play our scene, we can pass through the objects.

To solve this problem, we have to add a collider.

First, create a new project.

Make a terrain, and add a 3D Object sphere.

스크린샷 2016-04-02 오후 4.06.50.png

And we will going to add a component like this.

스크린샷 2016-04-02 오후 3.53.12.png

In the radius tab, you can set a range that you can approach.

You can jump over a sphere, and stand on it.

스크린샷 2016-04-02 오후 3.25.26.png

I add an audio, too.

스크린샷 2016-04-02 오후 3.22.39.png

스크린샷 2016-04-02 오후 3.24.40.png

스크린샷 2016-04-02 오후 3.25.53.png

Now, let’s apply this to our scene.

I will add a collider to my objects.

First, I add an box collider to my phonebooth.

스크린샷 2016-04-02 오후 3.19.59.png    스크린샷 2016-04-02 오후 3.20.12.png

스크린샷 2016-04-02 오후 3.19.44.png

스크린샷 2016-04-02 오후 3.20.35.png If you click this button. You can transform its size.

Second, I add an Mesh Collider to my piano.

스크린샷 2016-04-02 오후 3.20.20.png

스크린샷 2016-04-02 오후 3.21.09.png

If you check convex, it can make a collider automatically! So awesome.

Next step is making boarders.

We fall down endlessly when we go further to our terrain.

To solve this problem, we will make invisible walls.

스크린샷 2016-04-02 오후 4.43.53.png

Change its name ‘boarder’. And add a component ‘Box Collider’.

And click Edit Collider also. Transform its size to fit in your terrain size.

Make sure your boarder meet with your edge of the terrain.

So made 4 boarders, to each of your edge.

스크린샷 2016-04-02 오후 3.18.12.png

스크린샷 2016-04-02 오후 4.53.16.png

Like this. Now we won’t fall down edge of the terrain.


*You can download some 3D Objects from here.

My Dropbox Link :





Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s