Character Controller 角色控制 Physics物理系列之一

Character Controller 角色控制器

本文档主要是对Unity官方手册的个人理解与总结(其实以翻译记录为主:>)
仅作为个人学习使用,不得作为商业用途,欢迎转载,并请注明出处。
文章中涉及到的操作都是基于Unity2018.4版本
参考链接:https://docs.unity3d.com/Manual/class-CharacterController.html

The Character Controller is mainly used for third-person or first-person player control that does not make use of Rigidbody physics.
角色控制器主要用于在不使用刚体物理的前提下的第三人称或第一人称玩家,控制角色的普遍做法。
在这里插入图片描述

Properties Function
Slope Limit Limits the collider to only climb slopes that are less steep (in degrees) than the indicated value.
坡度限制 限制对碰撞体只能爬上坡度小于此值的斜坡
Step Offset The character will step up a stair only if it is closer to the ground than the indicated value. This should not be greater than the Character Controller’s height or it will generate an error.
台阶高度 角色只能爬上高于当前地面高度一定范围内(此值)时才会走上楼梯。这应该不大于角色控制器的高度,否则会产生错误
Skin width Two colliders can penetrate each other as deep as their Skin Width. Larger Skin Widths reduce jitter. Low Skin Width can cause the char
  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值