- Home /
trees and fire just floats into the hair
so I have ground detail grass when I ever I place a tree in the creator the trees just float into air and so dose my fire particles i very new to unity so this could be a noob answer sorry if it is
so now i have narrowed it down my charecter is goin down downward not my trees upward how ever my charecter is staying stuck to the terrain so im gonna stab at that my terrain is falling not my tree floating
Answer by MCTerminal · Dec 01, 2014 at 01:50 AM
You need to turn of gravity on your rigid body. http://adf.ly/upGLj
using UnityEngine; using System.Collections;
public class ExampleClass : $$anonymous$$onoBehaviour { void Example() { rigidbody.is$$anonymous$$inematic = true; } }
Sony his code would work??
@$$anonymous$$CTer$$anonymous$$al Dude, putting your links that are supposed to help into one of those ad revenue things is a dick move. This place is community driven for helping each other. Not to mention that the link is Unity's own reference manual...
@screenname_taken I thought this an ad to an internal reference but how ever I think he has given me my answer but I would still like to know if my code would work so would you happen to know if it would?
If you are adding everything in the editor ins$$anonymous$$d of from within a script, then all you have to do is click on "is$$anonymous$$inematic" in the browser window and it'll stop the rigidbody from being affected by forces.
Your answer
Follow this Question
Related Questions
Can't bake lightmap with trees on a terrain 1 Answer
store data structure for dynamic object in pragma strict. 0 Answers
Tree Creator Problems 1 Answer
How do I get a speedtree color? 0 Answers
Leaves of tree creator have wrong tiling 0 Answers