I am currently playing with GetRaycastIntersections() myself. The
documentations says to use the Geometry.SetupPointLocatorQueries() to
force a rebuild of the cache. Are you using it inside the SCOP update
function?
Philipp Oeser wrote:
Hi there,
I have a car setup here and I use "GetRaycastIntersections()" inside a
SCOP as a basis to control wheel positions for a car driving on a uneven
bumpy road. "GetRaycastIntersections()" is a really nice addition
btw...so much uses to it... :-)
Anyway, I am experiencing some weird behaviour with it: It works
allright when I intersect my GroundMesh, I get the right data and
everything.
But I get a considerable speedup (about 4x) for my SCOP when I
shrinkwrap another object to the GroundMesh - which is totally unrelated
to my carsetup and the SCOP -.
I am just guessing here:
Maybe the shrinkwrap prevents the SCOP from building the acceleration
cache on each update? (because it uses a similar/same cache already?)
How could I prevent the cache to be buit everytime I update my SCOP? (4x
speedup ?=? 4 calls to GetRaycastIntersections() for the 4 wheels btw..)
Any hints welcome and thanx again for this great tool
Philipp
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi