View unanswered posts | View active topics It is currently Thu Mar 28, 2024 6:28 pm



Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
 [OBJECT] Collar Test 
Author Message
Rank 16
Rank 16
User avatar

Joined: Wed Aug 07, 2013 4:51 pm
Posts: 314
Soooo.....after I figured out a way to make ring shaped collision meshes (not sure if it's the right way to make them, but they seem to work pretty well):

Attachment:
collision.jpg
collision.jpg [ 358.33 KiB | Viewed 17678 times ]


I thought I make a collar to test the concept:

Attachment:
collar.jpg
collar.jpg [ 537.04 KiB | Viewed 17678 times ]


Files in zip in case you want to test and mod this....it's certainly not perfect. Some values in the ini might need tweaking and the collision mesh can sure be made better. Also, sorry about filesize, could be optimized I guess.

You will have to put this to objects.dat (after also editing init.dat):
Quote:
sex_objecti:COLLAR COLLAR1
{
scene_id = DUNGEON1;
pos = (-4.6,1.35,2.3); //absolute positioning around Saikos neck
}


Only works for Saiko!


Attachments:
collar.zip [1.56 MiB]
Downloaded 654 times
Fri Dec 19, 2014 1:23 am
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
thanks riftporn :D


Fri Dec 19, 2014 6:36 am
Profile
Rank 14
Rank 14
User avatar

Joined: Fri Jun 27, 2014 2:57 pm
Posts: 169
Why that specific shape for collision pieces? It work well, but think I get fps drop from it.


Fri Dec 19, 2014 7:39 am
Profile
Rank 16
Rank 16
User avatar

Joined: Wed Aug 07, 2013 4:51 pm
Posts: 314
Quote:
Why that specific shape for collision pieces? It work well, but think I get fps drop from it.


Yeah it has too many faces for a ring that size. The thing is, a collision mesh needs to be convex (at least in my experience) but a ring shape can never be convex. It could probably be made out of less single pieces like this with way less faces, so you wont have any drop in framerate. (That said, it didn't seem to influence my fps)


Fri Dec 19, 2014 2:30 pm
Profile
Rank 14
Rank 14
User avatar

Joined: Fri Jun 27, 2014 2:57 pm
Posts: 169
Yes, understand convex bit. Was wonder more about stretched spheres vs something blocky. Did test with different shape mesh and got lot of jumping of collar. Maybe your curve help or because collision taking up lots neck space keeps stable?


Fri Dec 19, 2014 5:45 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Wed Aug 07, 2013 4:51 pm
Posts: 314
From my experience, Physics get "jumpy" when it has sharp angled faces. I don't know if it analyzes the faces or the normals.

It's also possible there is some (yet undocumented) attribute in the filemaker ini that helps making physics less jumpy.


Fri Dec 19, 2014 6:13 pm
Profile
Rank 14
Rank 14
User avatar

Joined: Fri Jun 27, 2014 2:57 pm
Posts: 169
Most of problem was I had diameter too small. It jump slight now but does not fall off neck. Try see what you think?


Attachments:
collar.zip [39.91 KiB]
Downloaded 591 times
Fri Dec 19, 2014 9:52 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Wed Aug 07, 2013 4:51 pm
Posts: 314
Nice, please share the ini and ma too so others can see how it's done :)

Still jitters a little, like mine :(


Sat Dec 20, 2014 12:21 am
Profile
Rank 14
Rank 14
User avatar

Joined: Fri Jun 27, 2014 2:57 pm
Posts: 169
I keep changing it. :lol: Think real answer may be admin add bone to neck we can attach items at if physics going to fight this much.


Sat Dec 20, 2014 1:27 am
Profile
Rank 16
Rank 16
User avatar

Joined: Wed Aug 07, 2013 4:51 pm
Posts: 314
Well, yes, this is just messing around with physics anyways. Anything that can be properly attached, should be.

I tried to make shackles, but I can't get them the right size, so much trial and error XD


Sat Dec 20, 2014 1:54 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 28 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:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.