Questions tagged [dotween]

DOTween is a tweening animation library for Unity.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

How can I rotate my BoxCollider2D 360 degrees around other colliders while maintaining a constant forward direction?

I'm trying to get my 2D character to rotate around colliders based on the current ground normal (sort of like in Mario Galaxy) detected by Physics2D.CircleCast, ...
user avatar
0 votes
1 answer
1k views

How to run a DOTween tween on float and apply it to a component on each update?

I am trying to use DOTween by tweening a float and then applying that float to the parameters of a gameObject's components on each update. In LeanTween, this was done like this: ...
user avatar
  • 197
0 votes
1 answer
239 views

Optimization problem with tweening UI using DOTween in Unity

I read in a Unity blog post that using normal animation with UI in Unity is not really recommended, but instead you should use tweening if you can. To test this so I tried the same animation with both ...
user avatar
  • 127
0 votes
1 answer
132 views

DOTween capacity always increasing

I'm creating a sequence and adding a couple of tweens to it. If I call it a couple of times the tweens capacity gets increased exponentially till everything gets incredible laggy. I've recorded this ...
user avatar
  • 107
0 votes
0 answers
20 views

Ignore Raycast object in front?

There are 2 balls. These balls move right, left, forward and backward with swipe motions. I move it with dotween according to the swipe movement. If Raycast touches the wall, that's the position of ...
user avatar
3 votes
1 answer
2k views

DOTween: How to make a spring bounce effect?

I am looking how to make a bouncing effect with DOTween, like when the object is attached to a spring. How can I make an effect like this?
user avatar
  • 223
1 vote
1 answer
843 views

How to run DOTween tweens in succession?

I have a function in my Unity game which marks a given cell GameObject as a valid cell for next move by changing the texture on it. I wanted to spice things up a bit by adding some tweens to the ...
user avatar
6 votes
1 answer
10k views

Re-use DOTween tweeners

I am using DOTween, and I want to create a tweener, store it, and re-use it in the future several times. ...
user avatar
  • 1,609