UE虚幻4虚幻5动画蓝图调试,触发FellOutOfWorld事件和打印输出,继续DeepSeek输出

找到了一个pdf,本来想写个翻译的,但还是算了,大概看了下,这类文档很全面,内容很多,但都不是我要的,我想要一个动画蓝图,搜索Montage,或者Anim 只占了一行(几百页的PDF)的简单几个词语的描写

(这样的PDF有啥用??真的??有啥用??)

所以还是直接问问DeepSeek吧

PDF1,

默认的Actor,默认的Input Control 和默认的跌落事件


我是真的在Actor.cpp 找到了这个代码:

cpp 复制代码
bool AActor::CheckStillInWorld()
{
	if (IsPendingKill())
	{
		return false;
	}
	UWorld* MyWorld = GetWorld();
	if (!MyWorld)
	{
		return false;
	}

	// check the variations of KillZ
	AWorldSettings* WorldSettings = MyWorld->GetWorldSettings( true );

	if (!WorldSettings->bEnableWorldBoundsChecks)
	{
		return true;
	}

	if( GetActorLocation().Z < WorldSettings->KillZ )
	{
		UDamageType const* const DmgType = WorldSettings->KillZDamageType ? WorldSettings->KillZDamageType->GetDefaultObject<UDamageType>() : GetDefault<UDamageType>();
		FellOutOfWorld(*DmgType);
		return false;
	}
	// Check if box has poked outside the world
	else if( ( RootComponent != NULL ) && ( GetRootComponent()->IsRegistered() == true ) )
	{
		const FBox&	Box = GetRootComponent()->Bounds.GetBox();
		if(	Box.Min.X < -HALF_WORLD_MAX || Box.Max.X > HALF_WORLD_MAX ||
			Box.Min.Y < -HALF_WORLD_MAX || Box.Max.Y > HALF_WORLD_MAX ||
			Box.Min.Z < -HALF_WORLD_MAX || Box.Max.Z > HALF_WORLD_MAX )
		{
			UE_LOG(LogActor, Warning, TEXT("%s is outside the world bounds!"), *GetName());
			OutsideWorldBounds();

wo我的项目是这个值,看上挺大的数值,但是体感就是2~3秒,实际上距离floor没多远就触发死亡

参考

网页1

虚幻引擎(UE):【ue地编小白初级教程】第八节了解UE中比较重要的相关设置选项「虚幻引擎教学」_虚幻引擎UE培训

相关推荐
我才是银古1 天前
6 小时做一部 10 分钟纪录片:DeepSeek 4.1 Flash + DeepSeek Harness 的完整制片记录
gis·deepseek·dsh
大模型真好玩1 天前
豆包真人分身操作技巧:这次让我来做主演
人工智能·agent·deepseek
XLYcmy1 天前
信息检索报告数字经济赋能城市低碳治理的路径研究——基于“传统数据库 + 生成式人工智能”双轮驱动的检索实践 检索实施与结果分析 Web of Science
数据库·ai·llm·prompt·ssci·deepseek·wos
用户7865157817212 天前
老款小爱音箱直连 DeepSeek:一个跑在音箱上的 BusyBox 客户端,如何做到“小爱优先、大模型兜底”
deepseek
Noir热爱生活2 天前
deepseek harness,关于桌面版无法打开vscode修复方案
electron·deepseek
ServBay3 天前
DeepSeek 再次崩了,DeepSeek V5正在路上?
后端·deepseek
大模型真好玩3 天前
DeepSeek Super-Agent核心特性详解与实战指南:把操作系统思想搬进智能体
人工智能·agent·deepseek
ytianxia64 天前
用 OpenClaw 搭建个人金融助手:从联网查询到双模型协同
deepseek
无责任此方_修行中4 天前
模型变强了,架构为什么反而要变?——从"折叠 subagent"到"Super-agent"
人工智能·ai编程·deepseek
AI日报派送佬5 天前
2026年11月01日AI行业日报|可灵AI198亿融资落地、DeepSeek开源超级智能体、Anthropic取消Ultra时长限制
人工智能·开源·openai·deepseek·anthropic·ai日报