wander

05-26 to do:

1. person too high, (is there problem with the size of model?)

2. go to floor 2.

3. fly mode, do not descend

4. door open animation

5. move too slow


05-26-20:21

发现胶囊的高度高于8.08才可以进门。进入后,加入重力也掉不小来,

看来肯定是模型的尺寸有问题!!! 

今天终于做了一点有用的实验,摆放另一个同样高度和尺寸的胶囊形影相随,

其实这个小伎俩我早应该想出来的。


05-27-11:48

发现用unity集成环境,情况不大一样,

现在不敢断定模型尺寸有问题了,

但还是发现好像有看不见的实物作怪。


先把fly mode搞定再说吧!


05-28-06:30

todo:

1. combine First Person and the old UI elements

2. master First Person Law


The “GetAxisRaw” method is used instead of the “GetAxis” because the latter applies smoothing which will make our rotations less responsive. 


our horizontalInput and verticalInput variables will return values between -1 and 1. They are the magnitudes of the direction. The right and forward variables return directions as vectors.


ApplyGravityAndJumping可以用一个flag控制一下,flymode不用调用。


The “movement” variable takes the direction and multiplies it by Time.deltaTime * 2. This will slow down the movement to rotate by seconds instead of by frames. 

转载于:https://my.oschina.net/u/1771959/blog/268876

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值