WASD/FPS Camera?

I’m after some camera controls that function like an FPS game or if you’ve used an editor like Unreal Engine has, you can move through the scene with WASD keys, sort of like a flythrough. I’ve noticed Maya now has a ‘Walk Tool’ but as I need to use the Z axis as the up axis, the tool is not adjusting so instead of left/right movement I ascend/descend. I’ve seen there is a plugin that can be purchased for the functionality however I’m wanting to release my project as open source, requiring users buy a navigation plugin would be nice to avoid.

If nobody is aware of other alternatives or a way to fix the walk tool issue, any tips on how I could implement this? I’ve tried the other camera options but none seem to provide that look around feel I’m after. The WASD movement isn’t as important as being able to rotate the camera around it’s own pivot via mouse movement, I know you could technically pop open the channel box select a rotation axis and middle mouse drag. Holding down a key or toggling the action via key would be ideal, how would I go about updating the camera’s rotation around it’s pivot based on mouse movement in the viewport though?

http://www.creativecrash.com/maya/plugin/mayafps--2

[QUOTE=Ella;27190]http://www.creativecrash.com/maya/plugin/mayafps--2[/QUOTE]

Did you just google that? This is the plugin I was referring to. The link you’ve provided is for the free demo version:

The demo version has the following limitations:

Will expire after some time.
Camera stops after a while, preventing long FPS navigation in one go.

I’d be happy to try code the functionality myself, though I’m not familiar with Maya/Python enough to know where to look, any advice would be greatly appreciated.

[QUOTE=Polarathene;27207]Did you just google that? This is the plugin I was referring to. The link you’ve provided is for the free demo version:

I’d be happy to try code the functionality myself, though I’m not familiar with Maya/Python enough to know where to look, any advice would be greatly appreciated.[/QUOTE]

Yes, I did just google it. I would contact the creator for the scripts and ask them. On their site (http://code-section.com/page/mayafps) they state:

“If you require custom licensing, access to the source code, or have special authentication requirements, let’s talk about it. Contact us!”

Most people are helpful. On a polycount thread (http://www.polycount.com/forum/showthread.php?t=138796) the creator state “Don’t like the price? Send me a note saying how much you’d pay for it and I’ll see what I can do :)”

I have very little experience with writing Maya plug-ins or navigation scripts in general so I’m afraid I can’t help you.

That’s fine, though I’d imagine the price would be have to fairly large if I’m wanting to provide the same plugin to users for free. It’s just a personal project for a community that I want to release as open-source, I’d rather not incur large costs for it :stuck_out_tongue:

All good, will try sort something out or omit adding the feature.

Hi. I’m the author of MayaFPS, the plug-in mentioned in this thread.

@Polarathene, if you’re only interested in a Maya plug-in which allows the user to use the mouse to rotate the camera as in FPS games, I can write that for you. You can then release the code with your project. I imagine this would be more suitable for your needs rather than MayaFPS itself, as releasing the code for MayaFPS for public distribution is not currently planned unfortunately. If you are interested, send me an e-mail and we’ll discuss the details.

-Adel Amro
http://code-section.com

[QUOTE=amro;27260]Hi. I’m the author of MayaFPS, the plug-in mentioned in this thread.

@Polarathene, if you’re only interested in a Maya plug-in which allows the user to use the mouse to rotate the camera as in FPS games, I can write that for you. You can then release the code with your project. I imagine this would be more suitable for your needs rather than MayaFPS itself, as releasing the code for MayaFPS for public distribution is not currently planned unfortunately. If you are interested, send me an e-mail and we’ll discuss the details.

-Adel Amro
http://code-section.com[/QUOTE]

Hi Amro, that’d be fantastic and super appreciated :slight_smile: will contact you.