Quantcast
Channel: Questions in topic: "weight"
Browsing all 136 articles
Browse latest View live
↧

I can't set the bone weights at runtime

pieceMesh.boneWeights[0].weight0 = 0.0f; pieceMesh.boneWeights[0].weight1 = 1.0f; pieceMesh.boneWeights[0].weight2 = 0.0f; pieceMesh.boneWeights[0].weight3 = 0.0f;...

View Article


Calculate objects' mass based on density and volume

Hello, I'm trying to calculate objects' masses based on density and volume. Imagine I have a Box2DSprite and it is 1,1 (x,y), I could use mass=density*Box2D.localScale.x*Box2D.localScale.y and...

View Article


Does Unity take GIF?

So I imported a 2048x2048 GIF texture that weighs about 45Kb, but Unity "compressed" it to 2.7Mb, so I'm guessing that it compressed the image to JPG or something? Does Unity take GIF textures at all?...

View Article

Speed = 11 meters /s plane is 110 meters should take me 10 seconds but it dosn't

It all in the title my car is travelling at 11 meters /s and the road is 110 meters long well at lest its 110 along the x axis and I haven't changed anything in the settings but its taking a long time...

View Article

Calculating rigidbody mass

Hey so im trying to realistically calculate the mass of a rigidbody according o this post --> http://answers.unity3d.com/questions/177563/what-unit-is-rigidbody-mass-based-on.html a rigidbodys mass...

View Article


How do I make an object with uneven weight?

I'm trying to make an object where one side is heavier that the other. It's a lawn dart, but for an easier to understand example, imagine a weight lifting bar with more weight on one side than the...

View Article

Color different Mesh vertices

I have a human mesh connected with an fbx animation file using Humanoid Mecanim. What I want to do is how to know the vertex groups, meaning the group of different vertices assigned to different limbs....

View Article

Calculate weighted mean based on direction

Technical version: I need to calculate the weighted mean of a set of points, using an arbitrarily decided 'forward' direction. The more 'forward' a point is from the rest of the group, the more weight...

View Article


How does wheelcollider mass factor into rigidbody mass?

Let's say I have a car with a rigidbody mass of 1500 and four wheelcolliders with a mass of 20 each. Is the mass then, of the entire car, 1580, or is it still 1500, but the car without the...

View Article


How do I smoothly shift between Layer Weights

I'm trying to shift between my character's default layer to another layer where his arms are masked smoothly so it looks like putting them out to hold a gun. public bool gun; void Update () { if (gun)...

View Article

How can I import bones without weight/deform?

Hello, I use Blender to do my modeling and prefer to import via the .blend file. As opposed to .fbx. FBX is messier and gives me more data than I want. However, I have a problem. Importing blend files...

View Article

How to have weight painted removable accessories?

How can I have dynamic accessories for characters in my 3d game, so that if I move the arm of the player, for example, his coat will move too? Is there a workaround way companies use? if so, how to...

View Article

Weight sensor interuptor

Hello, I'm trying to develop a weight sensor interrupter . It's just a plate on the ground which once triggered would open a door. (preview available here : http://hijackedbrain.com/slice , boxes will...

View Article


Calculating a value based on a weighted element within bounds?

I'm trying to write a script that will allow a game object to move in a general direction within specified bounds rather than in a specific direction. Based on what I've seen with the function...

View Article

App size too big IOS

Hello, I am currently developing an application ( an arcade game ) with Unity and I want to release it on iOS and Android. It is almost finished , but I have a problem : the game on Android weighs 48...

View Article


Image weight 2d - problems weight Game - (texture) (Sprite 2d and UI) ?

I have a problem where my game 2d 're all ready mechanical and now I cling to put the elements on the screen, the official , final arts and everything, but right at the beginning when I put the first "...

View Article

crush object based on pressure/weight from sides

I'm wondering how I can detect the amount of force being exerted on an object, from any direction, so that I can simulate it being crushed. I think figuring out the weight on top of something wouldn't...

View Article


Is there any way to access iOS built-in fonts with different font weight/...

Hi, I'm working on an iOS project using different languages (Korean, Chinese, Russian, etc..). What I want to achieve is to access iOS built-in fonts like Helvetica, San Francisco or PingFang rather...

View Article

Objects with a 'Scale in lightmap' equal to 0, do not fall into the lightmap...

I have 4 wood, 2 flower and one entrance to the cave, as well as 2 terrains, when i bake lighting - .apk **add 1 megabyte** in weight and i get two lightmap 512 x 512. **If copy the trees, flowers and...

View Article

Biomechanical model for motion capture

Hello Forum, we're currently working on a motion capture system. We apply the rotations directly to the limbs of the model via Quaternions we get from our motion capture system. My question is, is...

View Article
Browsing all 136 articles
Browse latest View live