본문 바로가기

engine

Unity3D - fake slicer

Just a test project.. : )

FakeSlicer
- Slicing a box (but not really)
- It works by adjusting box size/vertices and cloning a prefab box as a new slice object
- Sliceplane is “fake”, just Y value is used for getting a location
- Adjusts rigidbody weights based on object size/density (so each slice has “correct” weight)
- Missing: texture adjustment (now it shrinks..)

webplayer:
http://unitycoder.com/upload/demos/slicer1/
w/s = move plane up/down
a = slice
mouse = drag objects
*sometimes objects fall through the ground..refresh demo to try again

download source:
fakeslicer1.unityPackage


http://unitycoder.com/blog/2011/08/07/meshslicer1/

'engine' 카테고리의 다른 글