• 0
Sign in to follow this  
Followers 0
nark0t1k

Nearobject doesn't all Tree

Question

Hi

Today i try to make tool for tree cutting.

The axe chop action work with lineIntersects to return tree object when it is the target and work well

Try to make same with nearObjects with 5 radius

Seem to work with some tree but other doesn't be catch by Nearobject


Hit by Axe and diag_log objectfound

t_pinuss2s_b_f.p3d

Same place (~1m near tree) use 
 

_objects = nearestObjects [getPos player, [], 7]; diag_log format["%1", _objects];


Result: 
 

"[R Alpha 1-3:1 (Nark0t1k),1815673: <no shape>,1815716: <no shape>,78e67900# 1815419: dummyweapon.p3d REMOTE,1815656: fly.p3d,1815641: honeybee.p3d,1815882: honeybee.p3d,1815889: fly.p3d,1815576: honeybee.p3d,1815675: mosquito.p3d,1815509: honeybee.p3d,1815907: fly.p3d,1815725: fly.p3d,1815852: mosquito.p3d,1815885: fly.p3d,1815674: honeybee.p3d,1815903: fly.p3d,1815864: fly.p3d]"



Tips?

Edited by nark0t1k

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

Advertisement
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.