Animate-kinematic-interpolate not working together
Imagine creating a conveyer-belt, a baseball bat, or a catapult. You want to play an animation that can push around rigid bodies. This is easily accomplished by setting "Animate Physics" on the...
View ArticleSmoothing Mesh
Hello, I just want to know, is there any way, to smooth a script generated mesh
View ArticleGet positions at equal intervals between two Vector3
Hi! I want to divide lineRenderer to some n parts and get vector3 positions between start position and and position. Right now I'm trying to use Vector3.Lerp for it in a for loop, but cant get the last...
View ArticleSmooth transition for GetAxis, when pressing opposite direction
I am currently working on a space game (sideways look, scrolling top down). I am using Input.GetAxis("Horizontal"), for input to controlling multiple behaviors for a space rocket. GetAxis seems smooths...
View ArticleWhat is the difference between SmoothDamp and SmoothStep
The title sort of says it all. What is the difference between Mathf.SmoothDamp and Mathf.SmoothStep??? The script reference seems to indicate they do the exact same thing! Interpolate a value from...
View ArticleSomething like Color.MoveTowards ?
I'm trying to make a material color glow bright to red, then fade back to blue depending on whether the 'glowTime' value is between 0 or 1. How can I do this? var moonGlow : Renderer; private var...
View ArticleNot interpolate quaternion on shortest path?
Hi, I have been searching a long time but I did not find something that hints at a solution. Basically I want to smoothly interpolate between two Rotations. However I do not want to interpolate along...
View ArticleInterpolate tangent/binormal
Is there any way to interpolate the tangent variable of a mesh? I am cutting vertices and I would like to recalculate as little as possble. Positions and UV mappings are done by Lerp, but what to do...
View ArticleHow to change a value over specified time?
So I have recently been wondering about how I could change a value (basically Lerp it) over a specific, predictable, amount of time... The only way I have been able to successfully do this currently is...
View ArticleTilt aircraft based on accelerometer
is hard to explain, so i put some images to visualize. i have the aircraft that not move on world space... i put a "LookAt" to move camera around. So when i go to the right (X=+1) i like to tilt the...
View ArticleSplatmapping / blending between two textures in an atlas?
I have not properly experimented with this yet however I want to produce a simple blend between a grid of squares in the same mesh, procedurally generated. I have been looking into splat maps but I...
View ArticleAnimating Characters - Blender to Unity
To begin with I am fairly new to Unity. I am working on animations in Blender using Inverse Kinematics, as that is much, much easier. Now, my understanding of Unity is that it is largely based on...
View ArticleDynamically create interpolated hollows and bumps in terrain
Hi, I want to create a static soccer game like this [table soccer][1] ![table soccer][2] Since I want to be able to have different board setups, and perhaps even allow players to create custom setups,...
View ArticleRigidbody 2D with interpolate = cant rotate object
I heave problem with rotation object on Y axis. I heave Rigidbody 2D attached with interpolation set to interpolate ... from that moment i cant rotate via Y (when is interpolation off everythinks works...
View ArticlePhysics. What is interpolate, extrapolate, discrete, continuous?
I've been playing around with physics over the past few days, 2D physics. I understand mostly everything but when it comes to the interpolation and collision modes, I'm confused a bit. Ill start with...
View ArticleSmooth camera size interpolation
I am trying to interpolate the camera size with this code: // t counts between 0 and 1 cam.orthographicSize = Mathf.SmoothStep(cam.orthogaphicSize, CAMERA_DEFAULT_ZOOM * ZoomFactor, t); The issue is...
View ArticleRigidbody2D interpolate not working on iOS (Unity 5)
I use a 2D rigidbody to move a character. Due to fixed time position update the movement stutters. To compensate I use this option:...
View ArticleInterpolation issue, some items not being interpolated correctly.
I have a game in which you break through obstacles and the obstacle parts separate into physics based pieces. All of the pieces are contained in the parent object, they all have rigidbody2d on them,...
View ArticleUnity 5 shader error : Too many texture interpolators would be used for...
Hi, I'm trying to use good old T4M shader in Unity 5 and it seems there is an extra interpolator in action. Is there a way to still use it without setting it to shader target 4.0? Shader...
View ArticleMesh looks like overlapping.
Hello. I am developing a ski game and I have some problems. So i built a course slope in cinema4d and imported an fbx file in unity and when build some areas look as they were interpolated.(in run mode...
View Article