Just trying to rotate a sprite in B2D, got that working, but I can't find any support for Cosine and Sine, how can I use Cos and Sin?
Math Cosine and Sine?
Re: Math Cosine and Sine?
u9 20 May 2007 23:37
B2D uses VBscripts so "all rules apply" ;) the sin() and cos() functions are defined. Actually all VBscript functions are available in B2D.
system.debugprint "sin(pi/4) = " & sin(pi/4)
ehm… or did i misunderstand?
page revision: 5, last edited: 18 Jul 2015 00:39