Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,789 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Need help with scarf #75598
05/26/06 10:47
05/26/06 10:47
Joined: Apr 2005
Posts: 796
U.S.A. Michigan
exile Offline OP
User
exile  Offline OP
User

Joined: Apr 2005
Posts: 796
U.S.A. Michigan
I am trying to attach a seperate scarf entity onto my model. The scarf works, but I need it to look somewhat real. I need it to be sort of like the scarf from the PS2 game, Shinobi. I will post a pic to show you what I mean.





Now you know what I am looking for. Please help.

Re: Need help with scarf [Re: exile] #75599
05/26/06 18:46
05/26/06 18:46
Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
EdMercer Offline
Newbie
EdMercer  Offline
Newbie

Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
A scarf will behave most of the times like a smoke trail: it stretches behind the "actor" in a projection of its trajectory. One way of implementing it would be the store 'n' ('n' being equal to the number of nodes in the scarf) last "actor" positions and assign each position to one of the scarf nodes. Later you add vertical acceletarion to the nodes to make them fall and also some random spatial variation to account for the "wind" effect.

Re: Need help with scarf [Re: EdMercer] #75600
05/26/06 21:36
05/26/06 21:36
Joined: Apr 2005
Posts: 796
U.S.A. Michigan
exile Offline OP
User
exile  Offline OP
User

Joined: Apr 2005
Posts: 796
U.S.A. Michigan
I see, so I am adding a node to each section of the scarf? Would the same principal apply for bones, where I use a ragdoll physics and apply boned to every vertex and apply the ragdoll physics with collision detection? However, that may cause some slow down in the game.

Last edited by exile; 05/26/06 21:36.
Re: Need help with scarf [Re: exile] #75601
05/30/06 13:47
05/30/06 13:47
Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
EdMercer Offline
Newbie
EdMercer  Offline
Newbie

Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
It would certainly slow down the game doing it by physics so instead you'll have to simulate it by moving the first node to the position last occupied by the player plus some vertical descent to account for gravity, then the following nodes to the positions last occupied by the previous node and adding a little 'gravity' at each iteration.

Re: Need help with scarf [Re: EdMercer] #75602
06/09/06 00:26
06/09/06 00:26
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline
Senior Member
Marcio Esper  Offline
Senior Member

Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
It appear be a clothing physics from havok.

I believe you need make one mdl and deform the vertex with physics to do this, but I no idea how to do this with A6 physics.

If any one know a scripts about this and want spread it in the forum it will be a very great contribuition.

Best regards,

Marcio

Re: Need help with scarf [Re: Marcio Esper] #75603
06/09/06 00:35
06/09/06 00:35
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
If you've got pro edition or know how to handle newton physics, then it's not that hard at all ...

It's probably the easiest to make it a bit like ragdoll physics. Create invisible boxes and link them all together using the physics engine of A6, put bones in the scarf and whereever the boxes are pushed to by physics forces, the scarf's bones will have to respond accordingly ... Off course this probably sounds easier than it is, however it's feasable for sure.

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1