Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Collision on TVActor  (Read 675 times)
Shargot
Customers
Community Member
*****
Posts: 114


WWW
« on: September 16, 2007, 09:45:50 AM »

hi
sorry for my bad english.
my problem:
if my tvactor and camera position Y  500   and I rotate the camera around TVActor that collision on actor works fine... But if the camera and Actor are at height more that    900   and i rotate camera around tvactor - collision sometimes does not work... What to me to do?
Logged

" width="130" height="45" border="0
Shargot
Customers
Community Member
*****
Posts: 114


WWW
« Reply #1 on: September 16, 2007, 09:52:12 AM »

some shots
i am on y 500
and collision work fine


i am rotate camera around actor
an collision work fine

i am on y more 900
collision work fine



i am rotate camera around actor and collision not work...
« Last Edit: September 16, 2007, 09:56:49 AM by Shargot » Logged

" width="130" height="45" border="0
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #2 on: September 16, 2007, 11:15:52 AM »

Weird indeed, what collision type are you using ?
Could you also try the other modes (box, sphere, accurate, hitboxes) to see if they have the same problem ?
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 !
Shargot
Customers
Community Member
*****
Posts: 114


WWW
« Reply #3 on: September 16, 2007, 11:31:21 AM »

this my code....
Input.GetAbsMouseState(ref X111,ref Y111);

TVCollisionResult OnTarget = Scene.MousePick(X111,Y111);

Console.WriteLine(OnTarget.GetCollisionObjectType());
Logged

" width="130" height="45" border="0
Shargot
Customers
Community Member
*****
Posts: 114


WWW
« Reply #4 on: September 16, 2007, 01:14:23 PM »

if i use
TVCollisionResult OnTarget = Scene.MousePick(X111,Y111,(int)MTV3D65.CONST_TV_OBJECT_TYPE.TV_OBJECT_ALL,MTV3D65.CONST_TV_TESTTYPE.TV_TESTTYPE_ACCURATETESTING);

then collision work fine   Smiley))


i am test diferent types :

TV_TESTTYPE_BOUNDINGBOX    also have this problem


TV_TESTTYPE_BOUNDINGSPHERE     work fine



TV_TESTTYPE_ACCURATETESTING   work fine


TV_TESTTYPE_HITBOXES   work fine


TV_TESTTYPE_DEFAULT   also have this problem

Logged

" width="130" height="45" border="0
Pages: [1]
  Print  
 
Jump to:  

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