Quantcast

Jump to content

» «
Photo

PTFX rotation

3 replies to this topic
Nevitro
  • Nevitro

    Modder

  • Members
  • Joined: 31 Mar 2009

#1

Posted 09 June 2013 - 09:03 PM

Okey dear modders, I got problem with PTFX effects. In game i want roll effect... but the:
CODE

"START_PTFX", "ptfxname", Player.Character.Position.X, Player.Character.Position.Y, Player.Character.Position.Z, 0, 0, 2, 0.3


Nothing change. I tried with many values and nothing... always ptfx work on same direction.

julionib
  • julionib

    Coder

  • Feroci Racing
  • Joined: 13 Sep 2012
  • Brazil

#2

Posted 09 June 2013 - 09:39 PM

i guess that the problem is related to the need to be float

2.0 or 2f

also, maybe its an Radian, so maybe it's necessary use Helper.DegreeToRadian(2)

Nevitro
  • Nevitro

    Modder

  • Members
  • Joined: 31 Mar 2009

#3

Posted 09 June 2013 - 10:05 PM

My fault.
I just too long use Visual 2010 and if F is not in, this put self...
But in Native Call this not see like error and do not put...

Thanks!

nixolas1
  • nixolas1

    Creator/Destroyer

  • Members
  • Joined: 23 Dec 2008
  • None

#4

Posted 18 June 2013 - 10:15 PM

its given in degrees from 0 to 360, so 2 degrees would not be very much noticable. the .0f dosnt matter too much, as it gets converted to a float.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users