Quantcast
Channel: Questions in topic: "interpolate"
Browsing all 93 articles
Browse latest View live
↧

Dynamically 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 Article


Rigidbody 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 Article


Physics. 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 Article

Smooth 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 Article

Rigidbody2D 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 Article


Interpolation 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 Article

Unity 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 Article

Mesh 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


Can you help me make an algorithm out of these parameters?

I'm trying to have an object be a specific size when at point A but another specific size at point B and linearly interpolate between those sizes when moved. I'm thinking about having the algorithm's...

View Article


Character on moving platform with Interpolation

I am making my first game in Unity and I really enjoy it, but I have run into a very annoying problem. My game is a platform game where the character is always running right. My character has a...

View Article

Physics2D.Linecast unreliable with Rigidbody2D interpolation? What to do

Hello I am creating a platform game and I am using Physics2D.Linecast to detect whether my character is on the ground and thereby able to jump. I am currently trying to implement platforms that fall...

View Article

Rigidbody2D with interpolation lags while moving by velocity, how to solve...

I have created a new 2D project and I have a single sprite in the scene with a BoxCollider2D and a Rigidbody2D.with gravity scale set to 0. and the Rigidbody2D's interpolate is set to "interpolate". I...

View Article

How to lerp with a changing "from" value?

It's possible I'm not even using this right but basically I'm making a hunger system and I'm calling this in fixed update: public void Starve() { if(CurrentHunger > 0) { CurrentHunger =...

View Article


Get a value that interpolates between two floats based on where character is...

I'm making a controller script for a paper airplane and I'm currently stuck on trying to make the plane gain speed when facing down but lose speed when facing up. The ideal way would be having a...

View Article

How to fix stuttering of balls falling under gravity force.

I used Rigidbody2D, with gravity scale equal to 0.1, and Interpolate is set as `Interpolate`. The rest of setting you can see on the right-hand side one the video posted below:...

View Article


Rigidbody2D interpolation doesn't work properly

Hi, I'm using Unity 2017.1.0f3. I have a simple object with Rigidbody2D on it, the rigidbody has settings like on the picture below ![rigidobody2D][1] When I move the object by changing rigidbody's...

View Article

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 Article


Smoothing Mesh

Hello, I just want to know, is there any way, to smooth a script generated mesh

View Article

Get 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 Article

Smooth 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 Article
Browsing all 93 articles
Browse latest View live


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