Raised This Month: $32 Target: $400
 8% 

Player rotation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dbogdan
Junior Member
Join Date: Jan 2016
Old 01-07-2016 , 04:59   Player rotation
Reply With Quote #1

Its possible to set player's roll, pitch and yaw? I mean the entire model and view angles.
I want to make the player rotate by a prop_physics_override.
dbogdan is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 01-07-2016 , 05:05   Re: Player rotation
Reply With Quote #2

I'm not sure what you mean by the last sentence but if you want to set player's rotation you could use TeleportEntity and set the position and velocity to VECTOR_NULL. You probably could do this better with SetEntPropVector but I'm on my phone right now and can't provide all the info.
Phil25 is offline
dbogdan
Junior Member
Join Date: Jan 2016
Old 01-07-2016 , 05:07   Re: Player rotation
Reply With Quote #3

TeleportEntity sets only the view angles, I want the entire model.
dbogdan is offline
cam0
Senior Member
Join Date: Feb 2015
Old 01-07-2016 , 13:58   Re: Player rotation
Reply With Quote #4

I'm sure there's some kind of underlying property that cl_pitchup and cl_pitchdown modify. Try looking into that.

I believe Dr. Api has a plugin that does what you're looking for: https://www.youtube.com/watch?v=ZsqMh9IFAoo
__________________
cam0 is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 01-07-2016 , 14:15   Re: Player rotation
Reply With Quote #5

Quote:
Originally Posted by cam0 View Post
I'm sure there's some kind of underlying property that cl_pitchup and cl_pitchdown modify. Try looking into that.

I believe Dr. Api has a plugin that does what you're looking for: https://www.youtube.com/watch?v=ZsqMh9IFAoo
This plugin https://forums.alliedmods.net/showthread.php?p=2311468
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
cam0
Senior Member
Join Date: Feb 2015
Old 01-12-2016 , 17:15   Re: Player rotation
Reply With Quote #6

I know this is late but it's also worth noting that VPhysics could be of much use.
https://forums.alliedmods.net/showth...36350?t=136350
__________________
cam0 is offline
VsX
AlliedModders Donor
Join Date: Jul 2007
Old 03-21-2016 , 22:35   Re: Player rotation
Reply With Quote #7

@camo
It doesn't work. I think this extension need to be recompiled.
Does someone have working vphysics extension?

Last edited by VsX; 03-21-2016 at 22:36.
VsX is offline
almil36
Member
Join Date: Mar 2019
Old 10-14-2020 , 03:53   Re: Player rotation
Reply With Quote #8

I am having the same issue. I teleport the bots using TeleportEntity but the bots model are not directly facing the direction I set. After being teleported their model slowly turns around. I would like it to be instant.
Is there a way to set the angle of not only the view but also of the model?

Thanks in advance
almil36 is offline
FroGeX
Senior Member
Join Date: Aug 2020
Old 01-23-2021 , 02:55   Re: Player rotation
Reply With Quote #9

Create prop_physics_override entity and parent client to this ent and now can rotate client by applying angles to created ent.
FroGeX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode