纳金网

标题: unity3d物体阵列复制小扩展 [打印本页]

作者: 奔跑的小兔    时间: 2012-3-21 12:45
标题: unity3d物体阵列复制小扩展
很实用的一个小扩展,可以实现场景中物体的阵列功能!

This is a simple, but effective, tool for creating repeating formations of objects. For those familiar with Blender, this essentially implements the array modifier via an editor script: 'startTransform' is used to set the starting location, and the current object is used to modify this with each instantiation of the given object, 'obj' - up to a set count. Like blender, this is all rebuilt in realtime via OnSceneGUI(), and some pretty cool stuff can be done with this once arrays of arrays of objects are created...
  

Anyways, I expect that this should be a welcome boon to anyone building platform, arcade, or any other type of game that uses repeated placements of pickups/obstacles and the like. More creative uses also probably exist - let me know if you make anything cool with it
Edit: Note - Object handles must be set from 'center' to 'pivot' for this to work correctly



点击下载
作者: may    时间: 2013-4-28 20:18
找不到下载位置?




欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5