Moving box

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
waste
Posts: 8
Joined: Fri Jan 25, 2013 8:46 am

Moving box

Post by waste »

Which component or what should i configure to make moving a mesh box

with the arrows keys ?
User avatar
Kjell
Posts: 1883
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

Hi waste,

Usually you want to use a Model component for anything that can move independently. Attached is a example .. use the arrow keys to move the box around :wink:

K
Attachments
Box.zgeproj
(1.55 KiB) Downloaded 381 times
waste
Posts: 8
Joined: Fri Jan 25, 2013 8:46 am

Post by waste »

thank you for the example , i my project , i've a rotating 3d mesh box,

to do that i haven't used a model but a Rendertransformgroup


in my OnLoaded , SpawnModelBox , i can only choose the Box model , not

the rendertransformgroup, so when i run the project, there is a moving 3d

box and an another box which i can move with arrows keys
Post Reply