Jump to content

doNotSerialize skeleton and animation


Dad72
 Share

Recommended Posts

I do not understand (you only blocked the first) .

I block the skeleton and the mesh :
 
skeleton.doNotSerialize = true;
character.doNotSerialize = true;

I doNotSerialize the character and the skeleton, but I still have plenty to give corresponding to the skeleton that was serialized.

Exemple: '( only put one part, but I have all the skeleton like that (Bip***))

{
		"name": "Bip01 R Clavicle",
		"id": "3f71f92f-dec4-4b84-a633-7f3fd7944c66",
		"type": "Mesh",
		"position": [-0.0805, -0.1487, -0.0242],
		"rotationQuaternion": [0.6565, -0.754, -0.0002, 0.0236],
		"scaling": [0.5588, 3.0452, 2.5383],
		"localMatrix": {
			"0": 1,
			"1": 0,
			"2": 0,
			"3": 0,
			"4": 0,
			"5": 1,
			"6": 0,
			"7": 0,
			"8": 0,
			"9": 0,
			"10": 1,
			"11": 0,
			"12": 0,
			"13": 0,
			"14": 0,
			"15": 1
		},
		"isEnabled": true,
		"isVisible": true,
		"infiniteDistance": false,
		"pickable": false,
		"receiveShadows": true,
		"billboardMode": 0,
		"visibility": 1,
		"checkCollisions": false,
		"isBlocker": false,
		"parentId": "bf0a772d-4a23-44d9-8e86-41353a6ecdf6",
		"isUnIndexed": false,
		"instances": [],
		"animations": [],
		"ranges": [],
		"layerMask": 268435455,
		"alphaIndex": 1000,
		"hasVertexAlpha": false,
		"overlayAlpha": 0.5,
		"overlayColor": [1, 0, 0],
		"renderOverlay": false,
		"applyFog": true
	}

 

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...