Box2D Forums

It is currently Sat May 25, 2013 3:08 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jun 23, 2008 4:23 am 
Offline

Joined: Thu Feb 28, 2008 1:14 pm
Posts: 8
Hi,

previous to 2.0.1 it was possible to set the radius of a circle by directly mutating the m_radius member on the shape. This is now private, and
GetRadius is proivided, but no SetRadius.

Is altering the radius supported?

Cheers
George


Top
 Profile  
 
PostPosted: Mon Jun 23, 2008 10:42 am 
Offline
Site Admin

Joined: Thu Sep 06, 2007 12:34 am
Posts: 2931
Altering the radius is not supported because there is some information cached that depends on the radius. You can destroy the circle and create a new one on the same body.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group