Andy Gilbert
-
Posts
533 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Andy Gilbert
-
-
Hi, I've not seen that and windows is fine but is this for lua?
Thanks
Andy
-
Ahh thanks Rick, ok ill have a look. I dont quite understand how to "port" to lua else i would do it, ive tried looking into it but struggled to find out good info about doing so or even how i go about making extensions for lua?
Any good resources on this?
Thanks
Andy
-
HI Diedir. yes its your demo, so this will only work with a Xbox gamepad?
Any chace it could be modified to see any gamepad/joystick?
Thanks
Andy
-
Hi, just wondering if anyone has managed to get the lua joystick module to work?
Ive downloaded but just receive the Joystick 0 Not found => EXITnotification despite having a PC gamepad plugged in a working.
I find it so fustrating theres no way of having a joystick working with lua??
Thanks
Andy
-
Thanks Roland, done it perfect
Andy
-
Hi, im trying to have part of my model controllable somehow so i can rotate it via lua.
Ive tried having a bone attacthed but not had much lucjk, so i looked over some default models and noticed the Monster trucks wheels have there own "mesh" keys??
How can i do this, i have many "groups" within the model but when i save it out of UU3D to GMF it all becomes one static mesh?
Thanks
Andy
-
Hi, im trying to render shadows onto a flat plane, but i want the plane to be invisible.
how might i go about this?
Thanks
Andy
-
Hi Flachdrache, i just want to add some drag and angular drag to my rigid bodies.
Im not sure how the method you describe works, coiuld you explain more?
And you have completly lost me on your 2nd post.
Thanks
Andy
-
Hi Pixel, thanks for reply, think your right, Ill go do some more looking.
Cheers
Andy
-
Hi, ok i dont use unity but whilst researching more into drag and angular drag online i found that unity has these two properties built in as standard into its physics engine which confuses me because.
Everywhere i look into calculating drag i come accross the standard equation: D = Cd * A * .5 * r * V^2 where you need to know, air density, a drag coefient & area of body. Yet it looks like in unity you can add an object and apply angular and motion drag without any of the above properties being inputted, so how can it be done?
I ask because i want to do the same in leadwerks, i want to add some simple drag to my bodys both angular and velocity without having to touch air density or coeffienents.
Update: found this on their forum (i didnt realise unity used phyx)
dragForceMagnitude = velocity.magnitude ^ 2 * drag; // The variable dragForceVector = dragForceMagnitude * -velocity.normalized
Thanks
Andy
-
Well i thought i had, there both listed but only to me i think? Do they have to be approved?
Thanks
Andy
-
Its ok, managed to sort it.
Cheers
Andy
-
Hi, just wondering how i add to asset store?
Its a free item, ive tried the "upload file" way, filled everything out, but everytime it just shows "There was an error attempting to upload the file. Please contact an administrator ".
Its a Zip file.
Thanks
Andy
-
Although, i still cant work out why this flips my object around? It does a 180 roll for some reason but then works perfectly just upside down, exit game mode and it turns back around again?
this appears to be happeneing from the "point" command??
Any ideas?
Andy
-
Cheers Macklebee, spot on seems to be working fine now.
Thanks
Andy
-
Not sure what im doing wrong here?
This code below doesnt work but ALSO doesnt error:
local pick=CameraPick(fw.main.camera,Vec3(MouseX(),MouseY(),30.0),0,0) if pick then object.cameraPivot:SetPosition(Vec3(pick.x,0,pick.z)) self.model:Point(object.cameraPivot,1,1) end
if i change the CameraPick Z value (above is 30) to anything below 30 it errors (Index for object is not valid field or method)
anything below doesnt error but also doesnt work?
Anyknow know why? This is used within the script of the object im trying to use.
Thanks
Andy
-
Spot on! I'll give it a go.
Thanks both
Andy
-
Hi Rick, im probably confused myself, but i would have thought, in order to get a 3d object to move towards the mouse in 3d space? I need to know the 3d coords or the mouse?
How can i get them using lua?
Thanks
Andy
-
Hi, im trying to work out how i can do 3D RTS similer style movement using LE and lua?
So far it appears impossible as i cant find a way to get the mosue coords in 3D?
Does anyone know how this could be done?
Cheers
Andy
-
Anyone know this?
Andy
-
Ok thanks paul.
-
Thanks paul.
Looking at that though i feel i might run into trouble, there looks to be some direct opengl commands in there?
can that be called from lua?
glReadPixels(MouseX(), GraphicsHeight() - MouseY(), 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT, Varptr(depth))
thanks
Andy
-
Hi, im trying to get the mouse 3d position? Like the Z (but not the mosue wheel!) when i once programmed in openGL i used this feature for a level editor for example.
how can i get the mouse position in 3D coords?
Thanks
Andy
-
Hi Josh, the brush editing is basically like Photoshop brushes etc, instead of having jus a circle to make mountains you can use a brush (black and white image) to scultp with. Means you can easily make rough ground and alot better and more realistic terrain.
Thanks
Andy
Lua Jostick Module.
in Programming
Posted
Hi rick, that would really appreciated. I dont mind a limit, I'm happy with just 1 working. if there is anything I can do to help then let me know.
Thanks rick, keep me updated on how u get on.
And thanks gamecreator for making your code available.
Andy.