Hello all!
im testing how to move primitives at a table, with nothing, just to see ways to move primitives, I discovered how to move it hitting them. with something like this.
I didnt find a post clear enough to understand the mechanics at primitives. I saw scrips from diferent tables and confused me more.
Usable commands ? =Trans (x,y,z), Rot (x,y,z) RotAndTrans (X,y,z), visible (1,0) ?
Sub Primitive_Hit()
Primitive.TransX = 50
End Sub
or
Sub Primitive_Hit()
Primitive.TransX = Score
AddScore (+10)
End Sub
At the las example i tried to add score from another thing and the primitive didnt moves, ( i made a test checking and unchecking the Hit event and nothing) Only if the primitive itself add scorepoints the second example works.
I tried with a timer adding a value every 2 seconds, to use that data as a x,y,z value and nothing hppnds.
How can i move a primitive without hitting it?
How can i move a primitive using a timer or hitting another object at the table?
How can i link a primitive to another moving object ? maby some Sub checkSomehing?..
Is it posible to set the movement speed? or is only an update position what i saw?
Can you give me some script examples ?? I need to know it to continue with my table. Ways to move a primitive.
I really appreciate and need the help.
TY
Gabrom.




Top


Contributor











are all trademarks of VPFORUMS.