|
Become Physics Entity Upon Collision?
#71862
04/23/06 00:04
04/23/06 00:04
|
Joined: Jun 2005
Posts: 656
Grafton
OP
User
|
OP
User
Joined: Jun 2005
Posts: 656
|
Is it possible to have a entity being moved by c_move, and when struck by another entity, bounce off and act as a physics entity?
For instance, two cars racing side by side (using c_move and models). One car rams the other. the rammed cars event function is triggered and it somehow uses bounce and then enables physics, so it appears to bouce off the ramming car and flips away.
Any ideas? Thanks!
Not two, not one.
|
|
|
Re: Become Physics Entity Upon Collision?
[Re: Marco_Grubert]
#71864
05/10/06 07:38
05/10/06 07:38
|
Joined: Sep 2004
Posts: 260 UB,Mongolia
Olzii
Member
|
Member
Joined: Sep 2004
Posts: 260
UB,Mongolia
|
I have tried it using two method.
1. Create physics entity and disable it. On event it will be enabled. But this method is not good solution if we have a lot of disabled physics entity. I have tried it and FPS is not very good. 2. Create non-physics entity and enable event impact. On event it will be converted to physics entity. In my example entity is falling down through the land after converted to physics entity. What 's wrong with it , Marco ?
Olzii
The Empire of the Mongols comprised the largest continuous land empire ever, reaching from Korea to Poland
|
|
|
Re: Become Physics Entity Upon Collision?
[Re: Olzii]
#71865
05/10/06 16:20
05/10/06 16:20
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
Quote:
I have tried it using two method.
1. Create physics entity and disable it. On event it will be enabled. But this method is not good solution if we have a lot of disabled physics entity. I have tried it and FPS is not very good. 2. Create non-physics entity and enable event impact. On event it will be converted to physics entity. In my example entity is falling down through the land after converted to physics entity. What 's wrong with it , Marco ?
Olzii
maybe it's being spawned inside/below the block/model itself, so it would not register collision, and keeps falling, try spawning it a little higher for testing...
regards and good luck,
|
|
|
Re: Become Physics Entity Upon Collision?
[Re: Helghast]
#71866
05/11/06 07:22
05/11/06 07:22
|
Joined: Sep 2004
Posts: 260 UB,Mongolia
Olzii
Member
|
Member
Joined: Sep 2004
Posts: 260
UB,Mongolia
|
Hi Dennis,
Finally, I have did my own good a6 car. Do you want to test it ? I think that you will say something good.
About my question, if i lift up my model before converting it to physics entity, then it will look like jumping and i dont want it. But anyway i have tried it, result is same.
Olzii
The Empire of the Mongols comprised the largest continuous land empire ever, reaching from Korea to Poland
|
|
|
Re: Become Physics Entity Upon Collision?
[Re: Olzii]
#71867
05/11/06 10:31
05/11/06 10:31
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
hahaa, sure... PM me the link. For some reason my ICQ wont load, wont start, or will crash... i even reinstalled my pc, i have no idea what this conflict is. So im using MSN again You could mail me your project maybe? i could take a look at it. regards and good luck,
|
|
|
|