SAIMA/Assets/AmplifyShaderEditor
Roman 718deb06d1 任务:实现基本玩法
1.策划数学模型
2.搬迁工具类如单例模式模板
3.创建玩家类,用于接受和发出指令、记录玩家信息等
4.创建马类,用来接受信息、物理计算、控制马的碰撞等模拟等
5.实装数学模型,实现马脚的控制
6.探索物理实现方式,给控制点加上碰撞体和刚体,似乎可行
--NG,分离的刚体无法作为整体传递力,脚的反作用力传不到身体上
7.把操控分组,左摇杆控制后两条腿、右摇杆控制前两条腿
8.探索物理的实现方式,尝试仅在主物体上挂载仅一个刚体,探索碰撞体组的使用方式/
((1.给马添加四个碰撞体代表马足
((2.每帧刷新碰撞体的偏移,使其对准真实马蹄位置,所以需要找准offset和世界空间下位置的对应关系
((3.如何让马前进?目前发现无法使用真实物理的反作用力,只能根据输入或其他信息算出这个反作用力
(((1.最终应该通过原速度 + 计算出输入速度,不能使用力,因为使用力涉及的参数极多,很难修改
(((2.应该通过马足真实位置计算输入速度,不能使用控制点位置
(((3.每只足应该记住自己上一帧的位置,并每帧更新
((4.本帧位置减上帧位置 = 运动速度,一个二维向量
((5.并非一直有效,当本帧马足位置低于圆心 + 调整值时,才有效,否则该足贡献的速度为0.同时,需要有输入才有效,若无输入,同样贡献速度为0
((6.NG,主要在判断速度是否有效上出了问题,试试每帧给足和地面测距,小于阈值的才给过,然后才加速度
((7.GoodJob!通过上述方法和其他细微调整,已经使得马可以行走,并且得到不错的效果。但是肯定还有问题,需要后期更进一步调整

目前马能够受到控制,并且可以走动。同样支持键盘游玩,但是体验极差
2022-07-24 21:15:22 +08:00
..
2022-07-18 23:15:27 +08:00
2022-07-24 21:15:22 +08:00
2022-07-18 23:15:27 +08:00
2022-07-18 23:15:27 +08:00
2022-07-18 23:15:27 +08:00
2022-07-18 23:15:27 +08:00
2022-07-18 23:15:27 +08:00
2022-07-18 23:15:27 +08:00
2022-07-18 23:15:27 +08:00
2022-07-18 23:15:27 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

About

  Amplify Shader Editor (c) Amplify Creations, Lda. All rights reserved.

  Amplify Shader Editor is a node-based shader creation tool for Unity 5
	 
  Redistribution of Amplify Shader Editor is frowned upon. If you want to share the 
  software, please refer others to the official product page:

    http://amplify.pt/unity/amplify-shader-editor/
	
Description

 Amplify Shader Editor is a node-based shader creation tool inspired by industry leading
 editors. An open and tightly integrated solution, it provides a familiar and consistent
 development environment that seamlessly blends with Unitys UI conventions and Shader use.
	
Features

  * Intuitive, familiar interface
  * Node based creation
  * Full source-code
  * Extensive node library
  * Growing sample collection
  * Open to user requests and contributions
  * Integrated Texture Array Creator tool
  * Node API
  * Custom Shader Templates
  * SRP HD and Lightweight support

Supported Platforms

  * All platforms 

Minimum Requirements

  Software

    Unity 5+

Quick Guide Amplify Shader Editor
  
  1) Open the editor canvas located in the main menu under Window > Amplify Shader Editor > Open Canvas.
  2) Create an Amplify Shader via the Menu under Assets > Create > Shaders > Amplify Surface shader.
  3) Double-click an ASE shader to open it in the ASE canvas.
  4) Create a new material and set its shader to the newly created Amplify Shader.
  5) Node and shader properties are on the left side, node list on the right.
  6) Drag out nodes from the node palette list on the right, or right-click anywhere in the canvas to open  
     a simpler searchable node list.
  7) Data flows from left to right, drag wires from node Input/Output ports to create connections.
  8) The 4 buttons on the main canvas next to the node and shader properties on the upper-left area serve as the main 
     save and update buttons. Button 1: Update and Save shader, Button 2: LIVE mode, automatically updates
     and saves the active shader, Button 3: Remove disconnected nodes, Button 4: Open shader in text editor.
  9) Quick access to current shader or material in use by hitting bottom left and or right buttons on main canvas
  10) Consult the Manual below for detailed information.
  
Quick Guide Texture Array Creator
  
  1) Open the tool in the main menu under Window > Amplify Shader Editor > Texture Array Creator
  2) Specify the desired Width and Height for the Texture Array through the X and Y Size
  3) Configure your texture properties
  4) Set your array Name and Path
  5) Add elements to the array by hitting the (+) button over the Texture List area and assign textures to them
  6) Hit the Build Array button on the top of the window to build your new Texture Array
  7) Please notice that you can't load previously created texture arrays into the tool so maintain it open until all the tweaks on the array are done

Documentation

  Please refer to the following website for an up-to-date online manual:

    http://amplify.pt/unity/amplify-shader-editor/manual
	
Nodes

  Please refer to the following website for a searchable node list:

    http://amplify.pt/unity/amplify-shader-editor/nodes
	
	
Feedback

  To file error reports, questions or suggestions, you may use 
  our feedback form online:
	
    http://amplify.pt/contact

  Or contact us directly:

    For general inquiries - info@amplify.pt
    For technical support - support@amplify.pt (customers only)