Rotating smashbar
#11

That's because the 'pivot point' of the object is in the centre of it, not on the side that you want it to pivot from. So if you rotate it, it's rotating from the centre of the object, not the end of it.

To accommodate for this, you just need to adjust the X, Y and Z values until it looks like the desired open position that you want..

Some helpful callbacks/functions:
https://sampwiki.blast.hk/wiki/MoveObject
https://sampwiki.blast.hk/wiki/OnObjectMoved
Reply


Messages In This Thread
Rotating smashbar - by m4karow - 01.12.2018, 18:21
Re: Rotating smashbar - by m4karow - 10.12.2018, 18:01
Re: Rotating smashbar - by Bombaci - 10.12.2018, 19:00
Re: Rotating smashbar - by m4karow - 12.12.2018, 16:07
Re: Rotating smashbar - by David (Sabljak) - 12.12.2018, 16:31
Re: Rotating smashbar - by Bombaci - 12.12.2018, 17:59
Re: Rotating smashbar - by Bombaci - 12.12.2018, 18:56
Re: Rotating smashbar - by ReshiramZekrom - 13.12.2018, 08:47
Re: Rotating smashbar - by Bombaci - 13.12.2018, 12:26
Re: Rotating smashbar - by m4karow - 13.12.2018, 15:49
Re: Rotating smashbar - by Threshold - 13.12.2018, 15:59
Re: Rotating smashbar - by m4karow - 13.12.2018, 16:19
Re: Rotating smashbar - by Threshold - 14.12.2018, 01:40
Re: Rotating smashbar - by m4karow - 14.12.2018, 06:31
Re: Rotating smashbar - by Bombaci - 14.12.2018, 15:02
Re: Rotating smashbar - by NaS - 14.12.2018, 17:26
Re: Rotating smashbar - by m4karow - 14.12.2018, 18:38
Re: Rotating smashbar - by NaS - 14.12.2018, 19:38
Re: Rotating smashbar - by m4karow - 15.12.2018, 05:30
Re: Rotating smashbar - by Threshold - 15.12.2018, 08:38

Forum Jump:


Users browsing this thread: 2 Guest(s)