纳金网

标题: Simple Physics Toolkit - Magnet, Water, Wind v1.1 - 磁力浮力等专用插件 [打印本页]

作者: 雅雅    时间: 2017-5-1 19:45
标题: Simple Physics Toolkit - Magnet, Water, Wind v1.1 - 磁力浮力等专用插件

9f2542a4-f550-4163-a3f2-5b5468b571b3_scaled.jpg
8a8f8ab0-8257-470f-858a-ea141deb68c1_scaled.jpg
775eb1d8-5f01-4264-8a0b-5210d1b1b40a_scaled.jpg
a0b16429-89ba-4342-8985-7af78058627d_scaled.jpg

Requires Unity 5.2.0 or higher.

Some simple physics manipulation scripts:

Simply drag these scripts onto a game object with a collider component attached and watch it do the rest.

Current Classes:
-Magnet (Attract Rigidbodies)
-Wind (Push Rigidbodies in a specified direction)
-Bounce Plate (Bounce Rigidbodies Upwards)
-Water (Allow Rigidbodies to float)
-Zero Gravity (Disable gravity when Rigidbodies enter zone)

Setup Notes:

Magnet:
----------
Required Components: None
Setup:
-Drag Script on to any Game Object
-Adjust Inner and Outer Radius to preference
-Adjust Magnet Force
-Enjoy the magnetic beauty

Bounce Plate:
-----------------
Required Components: Collider (All types supported)
Setup:
-Drag Script to any Game Object
-Adjust Bounce to preference

Wind:
-------
Required Components: Collider (All types supported)
Setup:
-Drag Script to any Game Object
-Adjust Lift to preference
-Rotate object to adjust direction

Zero Gravity:
----------------
Required Components: Collider (All types supported)
Setup:
-Drag Script to any Game Object
-That's it!

Water:
--------
Required Components: Box Collider (Will automatically remove any other colliders and add Box Collider)
Setup:
-Drag Script to any Game Object
-Adjust size to preference
-Adjust pressure to preference
-Adjust water drag to preference
-Enjoy

Simple Physics Toolkit - Magnet, Water, Wind.rar

385.19 KB, 阅读权限: 10, 下载次数: 101


作者: h00man13    时间: 2019-4-25 14:22
thankssssssssssssssssssssssssss




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