Jump to content

Physics Properties for Objects don't get saved.


reepblue
 Share

Go to solution Solved by Josh,

Recommended Posts

The properties highlighted don't seem to get saved, 

image.png.dfd9d81361229a078962f93e1a5a683a.png

Friction is written, but never updated to reflect the fields.  There are no Damping, gravity, elasticity nor buoyancy values! 

			{
				"castshadows": true,
				"collisiontype": 1,
				"components": {},
				"decallayers": 1,
				"extras": {},
				"friction": [
					0.5,
					0.8999999761581421
				],
				"group": "2344763719232",
				"mass": 5.0,
				"matrix": [
					"0x3f6803ca",
					"0x0",
					"0xbed86168",
					"0x0",
					"0x0",
					"0x3f800000",
					"0x0",
					"0x0",
					"0x3ed86168",
					"0x0",
					"0x3f6803ca",
					"0x0",
					"0x411c28f6",
					"0x3ef5c278",
					"0x40ccccce",
					"0x3f800000"
				],
				"model": {
					"islimb": false,
					"path": "Models/ExampleContent/WeightedBox.mdl"
				},
				"name": "weightedbox",
				"physicsmode": 1,
				"pickmode": 1,
				"position": [
					"0x411c28f6",
					"0x3ef5c278",
					"0x40ccccce"
				],
				"quaternion": [
					"0x80000000",
					"0xbe5da255",
					"0x80000000",
					"0x3f79ee89"
				],
				"reflection": true,
				"rotation": [
					"0x80000000",
					"0x41c7fffd",
					"0x0"
				],
				"scale": [
					"0x3f800000",
					"0x3f800000",
					"0x3f800000"
				],
				"uuid": "5cf9e831-0f12-404b-bc87-50c8f490ac79"
			},

 

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

  • Solution

In my test, friction does work. I added support for the other missing values. The buoyance setting is being removed since it does not yet have support.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...