How can i place a set of eyes on a softbody cube
-
- Posts: 24
- Joined: Thu Sep 08, 2011 1:59 am
How can i place a set of eyes on a softbody cube
I want to place a set of eyes on a softbody jello cube (boss). The eyes should rotate to the direction of the player. Any ideas ?
-
- Posts: 24
- Joined: Thu Sep 08, 2011 1:59 am
Re: How can i place a set of eyes on a softbody cube
Wow,
I can't belive no one has an answer to this question. Help please
I can't belive no one has an answer to this question. Help please
-
- Posts: 237
- Joined: Tue Jun 29, 2010 10:27 pm
Re: How can i place a set of eyes on a softbody cube
Best way I know of would be to use Anchors between nodes of the soft body and two rigid bodies for the eyes (I'm assuming here that you want the eyes rigid). I have never used this, but I believe it is used in some of the demos(?)
Reference: http://bulletphysics.com/Bullet/BulletF ... nchor.html
Somewhat related post showing anchor creation: http://bulletphysics.org/Bullet/phpBB3/ ... hor#p21144
Search the forum for "soft body anchor", maybe there are more examples.
Reference: http://bulletphysics.com/Bullet/BulletF ... nchor.html
Somewhat related post showing anchor creation: http://bulletphysics.org/Bullet/phpBB3/ ... hor#p21144
Search the forum for "soft body anchor", maybe there are more examples.
-
- Posts: 168
- Joined: Tue Jan 04, 2011 11:47 pm
Re: How can i place a set of eyes on a softbody cube
This may be a silly question, and I did googled it.
But what do eyes mean here ?
But what do eyes mean here ?
-
- Posts: 237
- Joined: Tue Jun 29, 2010 10:27 pm
Re: How can i place a set of eyes on a softbody cube
Not silly, good question. I had just assumed he wanted 2 rigid bodies (spheres, perhaps) for eyes, bobbling around on one of the sides of the jelly cube, since he mentioned having them rotate. Another idea would be simply having eye textures stuck onto the cube, but texturing soft bodies can be a bit tricky, and he'd also have to then figure out how to modify the texture to make the eyes "look" in certain directions.
-
- Posts: 168
- Joined: Tue Jan 04, 2011 11:47 pm
Re: How can i place a set of eyes on a softbody cube
Ok, after reading your post and looking back previous ones, it makes sense now.
Cheers !
Cheers !