Simple Physics Toolkit - Magnet, Water, Wind - VR Ready

Dylan Auty

(47)
$14
Publisher Dylan Auty
File size 849.16kB
Number of files 165
Latest version 2
Latest release date 2022-09-28 08:31:13
First release date 2016-02-24 11:09:23
Supported Unity versions 2018.4.2 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.

This asset was developed to assist you with basic physics manipulation and includes Magnets, Wind, Rope, Buoyancy, Thrust Engines, Particle Manipulation, Zero-Gravity, Projectiles, Killzone, and Bounce Plates.

New - Now with Unity Events on Magnet, Explosives, Fluids, and bounce plates! (More soon)

2D Script modules for Wind, Water, Magnets and Explosive have been added to the package!

We have just finished the new buoyancy system which replaces the original water physics tool. In addition, we have added simple rope physics as well!

Note: All scripts have been tested in VR (Virtual Reality) scenes, by ourselves and some users of the asset, we are therefore happy to say that this asset is now VR Ready!

Current Modules:
- Magnet (Attract/Repulse Rigidbodies)
- Buoyancy (A new and improved fluid based physics tool)
- Rope Physics (A simple rope physics tool allowing you to connect objects in chains)
- Explosion (Simple Physics Based Explosions)
- Thruster Engine - Allows you to create propulsion systems and hover effects in their most basic form
- Projectile Spawn (Shoot items in a direction)
- Wind (Push Rigidbodies in a specified direction)
- Bounce Plate (Bounce Rigidbodies Upwards)
- Zero Gravity (Disable gravity when Rigidbodies enter zone)
- Destroy Objects (Killzone - Destroy objects when this region is hit) New (2017)
- Interactable Item - Simply acts as a filter (Dummy Script)
- Water (Deprecated: Replaced by Buoyancy)

Setup Notes:

Magnet:
----------
Required Components: None
Setup:
- Drag Script on to any Game Object
- Adjust Inner and Outer Radius to preference
- Select either attract or repulse mode
- Adjust Magnet Force
- Enable realism mode to allow the system to attempt to obey Newton's 2nd Law
- Enjoy the magnetic beauty

Note: Magnets can also be used to attract particles!

Buoyancy:
----------
Required Components: Collider
Setup:
- Drag Script on to any Game Object which has a collider present
- Setup options to your preference
- Place Rigidbodies above or within the water (adjust mass)
- Enjoy the simple buoyancy

Rope:
----------
Required Components: Connected Body & Anchor
Setup:
- Drag Script on to your anchor
- Setup options to your preference
- Attach a rigidbody as the connected body (Chain as needed)
- Adjust the rope gradient to your preference!
- Enjoy the simple ropes!

Thruster Engine:
----------
Required Components: Rigibody, on object, or parent
Setup:
- Drag Script on to any Game Object (or as a child of an object, such as a rocket)
- Adjust force variables as needed, and setup your initial thrust levels
- Enable hover mode if you would like
- Enjoy basic propulsion

Projectile System:
----------
Required Components: Game Objects (array)
Setup:
- Drag Script on to any Game Object
- Add projectiles to projectile array
- Alter force, innacuracy, emit rate
- Adjust firing angle of the object
- Enjoy! This is great for some firing system.

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 (Depracated but supported - Replaced by Buoyancy):
--------
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

Object Destroyer (Killzone):
--------
Required Components: Box Collider - Must be set as trigger
Setup:
- Drag Script to any Game Object
- Adjust size of collider to preference
- Enjoy. Any colliders which impact this area are destroyed. Great for scene cleanup.

Thank you for your support! Much appreciate it!

Please get in touch if you require any assistance in using these utility scripts. We also encourage suggestions as we are always looking for new things to add to the asset!

Top Publisher Assets