ActiveDen Breakable Barrel Prefab 1567777

Date: 2012-02-11, 13:52   
ActiveDen Breakable Barrel Prefab 1567777

ActiveDen Breakable Barrel Prefab 1567777
Unity 3D \ Object

Unity 3D - Breakable Barrel Prefab 1567777
by unluck @ ActiveDen

Unity 3D \ Object

3D Model Format: FBX; File Types Included: .unitypackage; Project Opens With: Unity 3.0.

- Breakable barrel prefab

- Scripted for customization

- 1024×1024px resolution UV mapped textures and bump

- Made for free Unity3D

- Well commented code

- Object is 1 mesh until broken, for performance

YouTube video preview
Code Sample

var fragments: Transform;
//Place the fractured object
var waitForRemoveCollider: float = 1;
//Delay before removing collider (negative/zero = never)
var waitForRemoveRigid: float = 10;
//Delay before removing rigidbody (negative/zero = never)
var waitForDestroy: float = 2;
//Delay before removing objects (negative/zero = never)
var explosiveForce: float = 350;
//How much random force applied to each fragment
var selfBreak: float = 100;
//Delay before break the object even if it does not collide with anything
var selfCollide: boolean;
//Does the fragments collide with other fragments, and other convex colliders
var physicMat: PhysicMaterial;
//Physical material attached to each fragment
var durability: float = 5;
//How much physical force the object can handle before it breaks
var resetOffScreen: float;
//Reset the object to its original state after given seconds
private var fragmentd: Transform;
//Stores the fragmented object after break
private var counter: int;
//Counts how many particles attached to fragments
private var broken: boolean;
//Determines if the object has broken or not

Updated Item

- New version 1.1

- Extreme performance increase (1040 draw calls to 40, on idle)

- Merging fragments to one mesh

More Unity3D Items

Check out this ?Fireball Prefab?

- Fireball explosion

- Highly customizable, easily create new effects by altering/copying existing prefabs

- Includes 5 pre made fireball prefabs

- Works on free Unity 3D

Keywords: barrel' breakable' destruction' dungeon' prefab' unity3d.

Tags: Object, Unity, Barrel, ActiveDen, Breakable, Prefab

Create ActiveDen Breakable Barrel Prefab 1567777 style with After Effect, Cinema 4D, 3DS Max, Apple Motion or Flash. Audio or music for ActiveDen Breakable Barrel Prefab 1567777. Full details of ActiveDen Breakable Barrel Prefab 1567777 for digital design and education. ActiveDen Breakable Barrel Prefab 1567777 desigen style information or anything related.


Add Comments:
Enter Code: *