How do I.......
Blitz3D Forums/Blitz3D Beginners Area/How do I.......
| ||
Pass a pivot to a function? I get NaN as the x, y, and z of the pivot when I try. |
| ||
Name your topics better. I think there's a rule about it. Post the code that has errors. This should work: [CODE] mypivot = CreatePivot() doStuff(mypivot) function doStuff(pivot) print "Pivot X is: " + EntityX(pivot) end function [/CODE] |
| ||
Very sorry about the name of the topic, I'll try to edit it. That's pretty much what I tried, perhaps I didn't create the pivot correctly. |