playMaker

Author Topic: Have SetPositon go slower  (Read 567 times)

BadgerBear

  • Playmaker Newbie
  • *
  • Posts: 4
Have SetPositon go slower
« on: July 23, 2021, 01:06:29 PM »
Good day,
For the sake of this I am going to use a basic random example of what I want.
Say I have a glass on a table and a player gets close to it, a placed trigger(boxCollider) is released and next in line is a setPosition(for the glass that is 30cm away). How do I make the glass go from its original position to the setPosition at a slower speed and not have it jump there like it does?


BadgerBear

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Have SetPositon go slower
« Reply #1 on: July 23, 2021, 01:48:38 PM »
Hi I managed using MoveTowards.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Have SetPositon go slower
« Reply #2 on: July 24, 2021, 09:15:11 AM »
Hi.
You can also use Tweens (for example Tween Position)