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

Weighted loot decision from a pre selected pool

Hey guys. I am doing a xml based loot table system for my framework im making . I am trying to do weighted loot drops using these tables. I basically have a list of items correctly loading and spawning...

View Article


Animator blend tree - Animation changes before reaching threshold

Hi everyone, I'm creating an animation that changes sprite when reaching the respective threshold but, for example, when parameter "Direction" reaches 15, blend tree changes to second animation. ¿Is...

View Article


Weight of file on Android?

Hello Unity, I have a small question for you, I hope you know how answer to it. 2 same applications on Unreal Engine 4 and Unity 5 for Android - where less weight? Thanks, Nikita Tolstikov

View Article

Big scene weight in apk

All scenes in windows folder weight **6 mb**. After building a project, scenes weight **117 mb** in apk file. Why scenes weight increased so much? How to decrease it? From **6 to 117 mb**?![alt...

View Article

Cardboard VR: Drag object towards player but have it stop just before

I've been looking for questions that might ask about the problem I'm facing, but so far I haven't found anything that really gets at what I'm trying to do. The setup is Cardboard VR, with a player...

View Article


How to superimpose two animations using the animator?

We are making a 2D game with sprite objects. In our current project, we have two animations, one for a character and one for a transparent effect to be played on top of the character when tapped. We're...

View Article

My game weight very very much

Hello, I have a question. My game weighs a lot but it is a rather simple game and I should not weigh enough Other powerful game have a small weight (200-300MB)and although it is my amateur project...

View Article

How to set one player unable to move the other

Hey all, my problem is that i've two player on the field and i want that they can't move each other just by going one against the other. I would like to make each player as if the other can't move it....

View Article


Play 2 animations at once

Hi all, i saw much answers about: animation.Play("walk"); animation["wave"].layer=1; animation.Play("wave"); animation["wave"].weight=0.4f; but then as example if i will play the attack animations. It...

View Article


How can I push down an object from another objects weight?

Here's what I mean. Let's say I have this rectangular box, and if my character were to jump on it, the box will be pushed down and depending on the weight, the pushing speed will be increased. How can...

View Article

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
Browsing all 136 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>