Quantcast
Channel: Latest Questions by simplyRubbish
Browsing all 50 articles
Browse latest View live

"Bending" a model

I'm trying to think of a way to "bend" a model in Unity in half.I would like to have the ability to bend a flat model in half or quarters so that a material that's on it would bend as well.If this...

View Article



What is drag and velocity measured in?

What units of measurement does Unity use for velocity and drag? I'm guessing meters/second by I just want to be 100%.Thank you.

View Article

Capsule GameObject always standing up

I am Instantiating a Capsule GameObject and it always is standing up even if I change the rotation.Here is the code I'm using to create it:GameObject clone = GameObject.Instantiate(prefab,...

View Article

"Folding" a model like a piece of paper?

Is it possible to take a plane or flat box and fold it in half one end to another? Is it possible to do this multiple times to make multiple folds? I'm thinking of trying this with bones and joints but...

View Article

Bullet capsule always standing upright

I am Instantiating a Capsule GameObject that will act as a bullet and it always is standing up even if I change the rotation.Here is the code I'm using to create it:GameObject clone =...

View Article


Bullet hit effect take the color of the material color

I'm using a particle emitter to generate a hit effect of the surface that it hits. But I want to use the color of the material of the object it hits. This seems easy but say it hits the terrain which...

View Article

Object material showing in scene but not game view

I'm firing a weapon that is only traveling 50m/s so it's not going to fast for me to see. The issue is I'm able to see the object fine in scene view but not in the game view. What can cause this to...

View Article

bullet hit effect material color be based off the object hit?

I'm trying to make a bullet effect's material color take the color of the material hit, for instance if it hits grass it will be green, dirt would be brown, etc... Is there an easy way to do this based...

View Article


Trailrenderer is very narrow

I'm using trail renderer to make a bullet tracer for a first person shooter but if I'm not moving and looking directly at the bullet I can barely see the trail renderer because it's so narrow. When I...

View Article


Car falls through ground wheel collider

I'm using wheel colliders on a vehicle model and if I don't rotate the wheels the car lands on the ground and it works fine. However, as soon as I start rotating the wheels around the axel, the car...

View Article

Collider for a car over 255 triangles

I have some car models in my game that are over 255 triangles but want them to collide realistically especially for when they are shot and a mesh collider seemed like the best way to go about this but...

View Article

Exporting and keeping scripts

When I'm exporting a prefab with scripts attached to it and give it to my friend, when he imports the package, the prefab no longer has the scripts attached. It shows where the scripts are in the...

View Article

FBX importer settings

I'm trying to find where the FBX importer settings are at in Unity 3.2? My art friend has given me maya .ma models that are scaling 100X larger and I want to change the settings so it auto-scales down...

View Article


Mass affecting velocity

I have vehicles driving around right now with really low mass (less than 10). I need to up this to realistically represent vehicles but when I up the mass too much, the vehicles start to slow down or...

View Article

Using a raycast without colliders

I have terrain where each building is an individual model and I don't want each of them to have a collider but need a way for raycasts or something like them to detect collision for bullets. I can't...

View Article


RaycastHit not working for Mesh Collider

I'm using a mesh collider for all the buildings in my terrain and RaycastHits are not working. Is there something I should be aware of when doing that I'm forgetting?Thanks.

View Article

yield return new WaitForSeconds is taking to long?

I'm using AngryAnt's behave and Starting my behave tree like this:IEnumerator Start () { OriginalMaxSpeed = GetComponent<AutonomousVehicle>().MaxSpeed; m_Tree =...

View Article


BloomAndFlares Monodevelop compile error

I'm having an issue with the BloomAndFlares class not being found inside MonoDevelop. It will auto complete when I type Bloom but will not compile saying it does not exist and to make sure I am not...

View Article

Narrow terrain editor brush

I am making a very narrow strip of terrain, about 250 units deep on Z and 10 - 15 units deeps on the X. The problem I'm running into is it seems Unity scales the brush to the terrain so if the terrain...

View Article

Creating a level editor, question about GUI/interface

I'm creating a level editor using Unity3D and have a question about the GUI and interface for it. I'm looking to make my level editor look as closely to the Unity3D GUI and thinking of different ways...

View Article
Browsing all 50 articles
Browse latest View live




Latest Images