[Kde-games-devel] Kolf Art?

Stefan Majewsky majewsky at gmx.net
Thu Sep 10 21:50:37 CEST 2009


Am Dienstag 08 September 2009 21:40:38 schrieb Casper van Donderen:
> On Tue, Sep 8, 2009 at 9:35 PM, Matthew Woehlke wrote:
> > That said, what terrain types does Kolf2 /currently/ support? Obviously
> > turf, wall, water, and I assume sand; any thoughts on one or more
> > low-friction terrain types?
> 
> As far as I know we don;t have terrain types yet.... These different
> types will require different geometries in ODE (the physics engine).
> You set the friction level per object, not per vertex/pixel.

See Kolf::PhysicsEngine::resolveCollision in elements/physicsengine.cpp: We 
decide on the friction parameters in the moment when the contact joint between 
terrain and ball is created. (Note the TODO to make these friction parameters 
configurable per object.)

Greetings
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20090910/af997a29/attachment.sig 


More information about the kde-games-devel mailing list