trueaxis.com Forum Index trueaxis.com
True Axis Physics SDK Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Collision callback manipulation

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    trueaxis.com Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
kurtz



Joined: 02 Apr 2005
Posts: 56

PostPosted: Wed Jun 01, 2005 3:24 pm    Post subject: Collision callback manipulation Reply with quote

When I implement the postCollisionCallback, I get a const Collision back, which is fine, but when I try to get information about the second object (objectB) from it using GetObjectB(), I get an error because there's no const version of GetObjectB(). I was thinking maybe there should be one, or I could just do any checking I need to in the preCollisionCallback. Thanks.
Back to top
View user's profile Send private message
luke
Site Admin


Joined: 15 Oct 2004
Posts: 621

PostPosted: Thu Jun 02, 2005 12:17 am    Post subject: Reply with quote

Thanks, this should be const. This has now been fixed ready for the next version after 1.0.0.5.

You can fix this your self by adding const to the Collsion.h header file to the appropriate functions.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    trueaxis.com Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group