Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Some Challanges


Zellpop

Recommended Posts

Hi .net peoples of Leadwerks. I'm making a game (but who isn't) and have met some obstacles on the way, and are hoping that someone here can nudge me in the right direction.

 

First som info about the game.

Its a 3D platform game where you drive/roll/jump around the world using a Sphere or similar gadget/device.

Controlling: W forward, S break, Space jump and right mouse button down for steering with the mouse left right.

 

After reading the online documentation Im still a tad lost. The Local axis(sphere) ends up all over the place as a result of the rolling.

So I found AddBodyTorque as a solution (witch hopefully gives me the possibility to use traction to surface at a later point), the ball is accelerating like I would expect.

But making it turn becomes very hard (the torque axis will very easy "loose" direction)

 

I see some solutions

* Start knitting instead, and use my PC as a paper weight

* Buy the game (if it exists)

* Use move or similar command instead

* Use a tyre/monobike contraption dymmy thingie thingie (so I can use torque)

* See what Aggror have done in his C# Sphere Game (a fast glance I couldn't find Torque there)

 

 

Im using LE.Net and VB.Net

 

So if you have some ideas for me Im happy to read them :blink:

Hopefully is there enough information here to get brains go in to Hyper-mode

 

Roy Vaulen

Link to post

But making it turn becomes very hard (the torque axis will very easy "loose" direction)

 

I don't quite understand the problem you are facing.

 

Is there less traction than you expect for the sphere?

Does the sphere head in the camera's direction instead of it's initial velocity?

 

 

By the way,

I would recommend using Leadwerks.Net, a different library than the shortened LE.Net. Lazlo would be able to offer the link since the forums were rolled back a month or so. There have been a lot of valuable updates to the library that make it very easy to use with VB or C#.

Link to post

By the way,

I would recommend using Leadwerks.Net, a different library than the shortened LE.Net. Lazlo would be able to offer the link since the forums were rolled back a month or so. There have been a lot of valuable updates to the library that make it very easy to use with VB or C#.

 

Oh really what the fawk. My links have been rolled back?

The credentials: leadwerks.chsarp/collaboration

Link to post

You'd have to use clientside vector prediction and CalcBodyOmega / CalcBodyVelocity to achieve the desired movement. Calling the other "AddXXX" commands directly just gives you addititve physics, which is the complete opposite of what you want.

 

Optionally, you could use a simple spring to dampen the movement after you use AddBodyTorque or something similar; insanely high friction works as well.

Link to post

You'd have to use clientside vector prediction and CalcBodyOmega / CalcBodyVelocity to achieve the desired movement. Calling the other "AddXXX" commands directly just gives you addititve physics, which is the complete opposite of what you want.

 

Optionally, you could use a simple spring to dampen the movement after you use AddBodyTorque or something similar; insanely high friction works as well.

Tyler what the?! Hi. Man... Argh. Come back!

 

And about that topic, I'd suggest frequent matrix updates with cubic spline interpolation.

Link to post
  • 4 weeks later...

Can't disagree with the matrix updates and spline interpolation, but if I recall Aggor's game I thought it used something with friction and forces, but it was more than a year ago so my memory is hardly reliable.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Facebook Twitter Youtube Github Steam
×
×
  • Create New...