SimHQ
Previous Thread
Next Thread
Print Thread
Rate Thread
Hop To
#4484008 07/24/19 10:26 PM
Joined: Apr 2018
Posts: 300
Member
Member
Joined: Apr 2018
Posts: 300
Can someone explain Collision Points to me? Are they a sub-object in the 3D model? How are they added in?
I have a list of names from the dynamics.c code, do all of the types have to be used in the model for it to work right?
Are they simply a 3D point with the correct name?

Last edited by Javelin; 07/24/19 11:48 PM.
Joined: Dec 2010
Posts: 1,883
M
Member
Member
M Offline
Joined: Dec 2010
Posts: 1,883
There's a collision object for each model, for example

3ddata\OBJECTS\Mi-28 Havoc\MI28N_COLLISION_OBJECT.EEO

I've not actually looked at them before though. There's isn't one for the KA50, it's probably using the Hokum one.

Joined: Dec 2010
Posts: 1,883
M
Member
Member
M Offline
Joined: Dec 2010
Posts: 1,883
I had a look, and can't find the model in the code, or a scene that uses it. I've attached a shot of what the model looks like for the Hokum
Attachments
collision_object.JPG

Joined: Dec 2010
Posts: 1,883
M
Member
Member
M Offline
Joined: Dec 2010
Posts: 1,883
Actually, I just had a proper look. I was looking at the KA50 scene, which doesn't have a collision object.

In the KA52 scene, there are points called STABILISER_COLLISION_POINT, MAIN_ROTOR_COLLISION_POINT etc.

Joined: Dec 2010
Posts: 1,883
M
Member
Member
M Offline
Joined: Dec 2010
Posts: 1,883
The objects are defined in co_force.c

Code
"DYNAMICS_COLLISION_POINT_STABILISER",
OBJECT_3D_SUB_OBJECT_STABILISER_COLLISION_POINT,
FALSE,
(dynamics_damage_types) (DYNAMICS_DAMAGE_STABILISER),

Last edited by messyhead; 07/26/19 08:18 AM.
Joined: Apr 2018
Posts: 300
Member
Member
Joined: Apr 2018
Posts: 300
Thanks Messyhead, those collision points are what I was looking for. Are they a Null Object, or are they an actual 3D Point Object?
Later today I'll try and figure out what they are so I can add them into one of the other models.
I guess I'm going to have to learn Lightwave whether I want to or not.

Joined: Dec 2010
Posts: 1,883
M
Member
Member
M Offline
Joined: Dec 2010
Posts: 1,883
I think they're just a bull object. You can open a scene file in a text editor, and it just lists all the objects

Joined: Apr 2018
Posts: 300
Member
Member
Joined: Apr 2018
Posts: 300
OK, I have a Lightwave Layout question.
When I open a 3D model in Lightwave Layout I get a myriad of cyan object labels, too many to read because they are on top of each other. How do I turn some of the labels off?
I'm trying to add Null Objects for collision points and I can't see what I'm doing because of all of the label names on the screen.

OK, I figured out how to turn the labels off, it's in the Properties settings for the Object. Moving on now.

Last edited by Javelin; 07/27/19 05:05 PM.
Joined: Dec 2010
Posts: 1,883
M
Member
Member
M Offline
Joined: Dec 2010
Posts: 1,883
Originally Posted by Javelin
OK, I have a Lightwave Layout question.
When I open a 3D model in Lightwave Layout I get a myriad of cyan object labels, too many to read because they are on top of each other. How do I turn some of the labels off?
I'm trying to add Null Objects for collision points and I can't see what I'm doing because of all of the label names on the screen.

OK, I figured out how to turn the labels off, it's in the Properties settings for the Object. Moving on now.


If you open the scene editor, there's options at the top for visibility, and you can also hide individual objects from there too.
Attachments
scene_editor.JPG

Joined: Apr 2018
Posts: 300
Member
Member
Joined: Apr 2018
Posts: 300
Thanks,
Now, how do I add a Null Object that isn't a Root Object? The lws2ees tool doesn't like my Null Object.

B
BANITA
Unregistered
BANITA
Unregistered
B
Please messyhead write tips here,it will be helpful also for me and others.

Joined: Apr 2018
Posts: 300
Member
Member
Joined: Apr 2018
Posts: 300
I ended up going through all of the added NullObjects and selecting one to clone instead of creating one from scratch, I couldn't get it to work right otherwise.

Once it's cloned, R-Click in the Lightwave Layout Scene Editor, then open the properties window, double click on the name to open the next window so you can change the name to what you want it to be. Make sure the NullObject has FX Collision specified. At this point, also check to see what the radius is for the Collision volume. It needs to be big enough to hit (ie not 0.0). If it doesn't, delete the FX and re-add it in and it will come up with a 1 m sphere. Now that it's created, move the NullObject into the correct position. Select "position" in the lower left corner using the thumb wheel, then use the cursor to select the arrow heads for the NullObject axes to move it. Change views as necessary.

As I work through things I'm taking notes. I'll write them up once I get done.

Joined: Dec 2012
Posts: 1,386
T
Member
Member
T Offline
Joined: Dec 2012
Posts: 1,386
Hi, Javelin. I have worked a lot with collisions, not sure you need any advice right now as months passed.
I have a quesiton about Collision volume you mentioned, haven't heard about this attribute ever before. Does it really affect anything, or just dummy value in Lightwave? As I remember, for damage detection only speed of the point taking into account and it's name (which linking it with proper damage flag).

Joined: Apr 2018
Posts: 300
Member
Member
Joined: Apr 2018
Posts: 300
Sorry thealx, I don't know the answer to that. I haven't gotten far enough to really test it to see if it works or not.


Moderated by  RacerGT 

Link Copied to Clipboard
Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
God Forbid they want to have a bit of fun at work
by NoFlyBoy - 09/22/26 08:50 PM
How a 5" 38 Caliber US Naval Gun Works
by F4UDash4 - 09/19/26 01:20 AM
100% commission based sales
by PanzerMeyer - 09/18/26 04:47 PM
Relativity
by Terl9999 - 09/18/26 04:34 AM
HOA's
by Terl9999 - 09/18/26 04:12 AM
Football
by Terl9999 - 09/18/26 02:42 AM
Flags
by Terl9999 - 09/15/26 10:03 PM
September 15th Battle of Britain Day.
by RedToo - 09/15/26 08:06 PM
Population Patterns
by PanzerMeyer - 09/15/26 03:43 PM
"Problem occurred in connection"
by F4UDash4 - 09/14/26 01:41 PM
Popular Topics(Views)
7,068,939 SAM Simulator
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 8.0.1