Since VilleK added centerMouse() command in ZGE, we can finally make our games use Mouse for controlling (moving, rotating, scaling...) ...
I have attached a file (.exe and .zgeproj) that shows one simple cube rotation using mouse ...
hope you can find it useful ...
Enjoy
Boris
Controling models with mouse
Moderator: Moderators
Controling models with mouse
- Attachments
-
- center mouse.zip
- (48.92 KiB) Downloaded 594 times
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
object placement in engine, level editor ? !?
Thanks Boris, I did find that usefull., I made a ver. with a more direct conection to the values,. and added to it a bit,. looks like the beginings of a level editor to me.
LMB to rotate
RMB to scale
Z key to position ( Hay ville, why no MMB support? and scroll wheels too! )
LMB to rotate
RMB to scale
Z key to position ( Hay ville, why no MMB support? and scroll wheels too! )
- Attachments
-
- centerMouse_JPHtest.zgeproj
- example file,.
- (1.69 KiB) Downloaded 655 times
iterationGAMES.com
Re: object placement in engine, level editor ? !?
I'm glad you did found it useful ...
yeah, I wanted to say that in Feature request too, because I wanted to add camera zoom in, zoom out on scrool ...
but I don't know how hard is to implement that in ZGE ...
jph_wacheski wrote: Hay ville, why no MMB support? and scroll wheels too!
yeah, I wanted to say that in Feature request too, because I wanted to add camera zoom in, zoom out on scrool ...
but I don't know how hard is to implement that in ZGE ...