Horde3D

Next-Generation Graphics Engine
It is currently 19.03.2024, 12:30

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 26.03.2014, 18:56 
Offline

Joined: 26.03.2014, 14:41
Posts: 1
Hi there,

I am trying to detect / calculate the distances between two entities. For that, I was using the Pyttagoras calculation from this post: viewtopic.php?p=8468#p8468

Unfortunately, I get a very big result from that calculation, which does not get smaller when moving the objects closer to each other. It seems that it gets smaller when I move one object to the very border of the scene.

Does this method work when I use the return of GameEngine::entityWorldID( "foobar" ) as _entityNode?


Top
 Profile  
Reply with quote  
PostPosted: 27.03.2014, 22:55 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
How do you get the transformation matrix from your entities? And what are you using exactly for the distance calculation


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 24 guests


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:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group