Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: SetCollisionEnable in new release  (Read 1326 times)
RuntimeError101
Customers
Community Member
*****
Posts: 252


« on: March 08, 2009, 07:15:33 AM »

This code worked in the last release, but with the new dll, it seems that collision is either on or off...

Code:
Mesh.CreateBox(5, 5, 5, True)
Mesh.SetCollisionEnable(False, 1)
Mesh.SetCollisionEnable(False, 3)
Mesh.SetCollisionEnable(False, 5)

When SetCollisionEnable(...) isn't called, AdvancedCollision(...) returns true, but otherwise, no collision is detected for the whole mesh, not just the specified groups.
Logged
darqSHADOW
Administrator
Community Member
*****
Posts: 2817


« Reply #1 on: March 08, 2009, 10:21:32 AM »

That's very strange, since the only file I updated from source control was the FontManager.  I will dig into the history of the file that's responsible, and see what changed.  Sorry, we'll get it taken care of quickly.

John
Logged

TrueVision3D Project Manager
The fast and simple way of 3D development.
RuntimeError101
Customers
Community Member
*****
Posts: 252


« Reply #2 on: March 11, 2009, 04:05:51 AM »

Alright, thanks for checking.  Smiley
Logged
RuntimeError101
Customers
Community Member
*****
Posts: 252


« Reply #3 on: March 24, 2009, 04:00:23 PM »

Any idea about this?  No changes in recent releases?
Logged
RuntimeError101
Customers
Community Member
*****
Posts: 252


« Reply #4 on: March 25, 2009, 08:47:02 PM »

*sigh*

I REALLY hate to complain like this, but there is nothing left for me to do but wait until there is any confirmation from anyone...

Anyone else having this problem?  I have been messing around with everything I could think of.
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4946


WWW
« Reply #5 on: March 26, 2009, 07:36:25 AM »

I will check tonight but it seems weird really.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Toaster
Community Member
*
Posts: 378


WWW
« Reply #6 on: April 13, 2009, 01:16:44 PM »

I'm having the same problem.

Code:
Mesh.SetCollisionEnable(true, -1, CONST_TV_TESTTYPE.TV_TESTTYPE_ACCURATETESTING);

for (int i = 0; i < Mesh.GetGroupCount(); i++)
{               
    if (Mesh.GetGroupName(i) == "Collision")
    {
        Mesh.SetGroupEnable(i, false);
        Mesh.SetCollisionEnable(false, i, CONST_TV_TESTTYPE.TV_TESTTYPE_ACCURATETESTING);
    }
}

SetCollisionsEnable effects all the groups not just the one I tell it to..

-Toaster
Logged

Visit my site at: Unknown Abstraction
bbence
Customers
Community Member
*****
Posts: 944


WWW
« Reply #7 on: December 02, 2011, 12:00:20 PM »

Can it be that it's STILL not working?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks